Skip to content

Commit dcddf57

Browse files
committed
clean up nn example
1 parent 3aae6d2 commit dcddf57

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mlflow/examples/NeuralNetworkHyperparameterTuning.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const mlflow = new MLflow('http://localhost:5001');
77

88
const HYPERPARAMETER_SPACE = {
99
networkArchitectures: [
10-
[16, 8], // Small network
11-
[32, 16], // Medium network
12-
[64, 32], // Larger network
10+
[16, 8],
11+
[32, 16],
12+
[64, 32],
1313
],
1414
learningRates: [0.001, 0.01],
1515
batchSizes: [32, 64],
@@ -23,7 +23,7 @@ const TRAINING_CONFIG = {
2323
datasetSize: 2000,
2424
inputFeatures: 5,
2525
outputClasses: 3,
26-
minibatchSize: 128, // Added for faster training
26+
minibatchSize: 128,
2727
};
2828

2929
// Data generation
@@ -252,7 +252,7 @@ async function main() {
252252
try {
253253
console.time('Total Execution Time');
254254

255-
const experimentName = 'Neural_Network_Hyperparameter_Tuning_Fast';
255+
const experimentName = 'Neural_Network_Hyperparameter_Tuning';
256256
let experimentId;
257257
try {
258258
const experiment = await mlflow.getExperimentByName(experimentName);

0 commit comments

Comments
 (0)