-
-
Save ravithejaburugu/aa9da4356c5edf7b4df922aa690f1030 to your computer and use it in GitHub Desktop.
Revisions
-
juwalter created this gist
Mar 3, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ RandomGenerator gen = new MersenneTwister(123); MultiLayerConfiguration encoderConf = new NeuralNetConfiguration.Builder().weightInit(WeightInit.VI) .layerFactory(LayerFactories.getFactory(RBM.class)) .iterations(5) .lossFunction(LossFunctions.LossFunction.RECONSTRUCTION_CROSSENTROPY).rng(gen) .learningRate(1e-1).nIn(784).nOut(30).list(3) .hiddenLayerSizes(new int[]{2000, 1000, 500}) .build();