Skip to content

Commit

Permalink
Update Mnist expert example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnocandel committed Mar 25, 2014
1 parent 4c34271 commit 38c048a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions h2o-samples/src/main/java/samples/expert/DeepLearningMnist.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package samples;
package samples.expert;

import static water.util.MRUtils.sampleFrame;
import hex.deeplearning.DeepLearning;
import water.Job;
import water.TestUtil;
Expand All @@ -8,8 +9,6 @@

import java.util.Random;

import static water.util.MRUtils.sampleFrame;

/**
* Runs a neural network on the MNIST dataset.
*/
Expand All @@ -21,9 +20,9 @@ public static void main(String[] args) throws Exception {
//samples.launchers.CloudConnect.launch(job, "localhost:54321");
// samples.launchers.CloudRemote.launchIPs(job, "192.168.1.171", "192.168.1.172", "192.168.1.173", "192.168.1.174", "192.168.1.175");
// samples.launchers.CloudRemote.launchIPs(job, "192.168.1.161", "192.168.1.162", "192.168.1.163", "192.168.1.164");
samples.launchers.CloudRemote.launchIPs(job, "192.168.1.161", "192.168.1.162", "192.168.1.164");
// samples.launchers.CloudRemote.launchIPs(job, "192.168.1.161", "192.168.1.162", "192.168.1.164");
// samples.launchers.CloudRemote.launchIPs(job, "192.168.1.162", "192.168.1.164");
// samples.launchers.CloudRemote.launchIPs(job, "192.168.1.162");
samples.launchers.CloudRemote.launchIPs(job, "192.168.1.164");
// samples.launchers.CloudRemote.launchEC2(job, 4);
}

Expand Down Expand Up @@ -51,6 +50,7 @@ public static void main(String[] args) throws Exception {
p.epochs = 10000;
p.l1 = 1e-5;
p.l2 = 0;
p.adaptive_rate = false;
p.momentum_start = 0.5;
p.momentum_ramp = 1800000;
p.momentum_stable = 0.99;
Expand Down

0 comments on commit 38c048a

Please sign in to comment.