We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5069d commit 6fd6627Copy full SHA for 6fd6627
README.md
@@ -107,17 +107,10 @@ import Mlflow from 'mlflow-js';
107
// Initialize the MLflow client
108
const mlflow = new Mlflow('http://127.0.0.1:5000');
109
110
-// Get the experiment client
111
-const experimentClient = mlflow.getExperimentClient();
112
-
113
// Create a new experiment
114
async function createExperiment(){
115
- try {
116
- await experimentClient.createExperiment('My Experiment');
+ await mlflow.createExperiment('My Experiment');
117
console.log('Experiment created successfully');
118
- } catch (error) {
119
- console.error('Error creating experiment:', error);
120
- }
121
}
122
123
createExperiment();
0 commit comments