This file contains 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 characters
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.net.InetAddress; | |
import java.net.URL; | |
import java.net.URLDecoder; | |
import java.util.ArrayList; |
This file contains 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 characters
package org.deeplearning4j.example.deepautoencoder; | |
import org.apache.commons.lang3.time.StopWatch; | |
import org.apache.commons.math3.random.MersenneTwister; | |
import org.deeplearning4j.autoencoder.DeepAutoEncoder; | |
import org.deeplearning4j.datasets.DataSet; | |
import org.deeplearning4j.datasets.fetchers.MnistDataFetcher; | |
import org.deeplearning4j.datasets.iterator.DataSetIterator; | |
import org.deeplearning4j.datasets.iterator.impl.MnistDataSetIterator; | |
import org.deeplearning4j.datasets.mnist.draw.DrawMnistGreyScale; |
This file contains 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 characters
package org.deeplearning4j.example.classification.labels; | |
import org.jblas.DoubleMatrix; | |
import org.deeplearning4j.util.*; | |
import java.util.Arrays; | |
import java.util.List; |
This file contains 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 characters
package org.deeplearning4j.nn.api; | |
import org.deeplearning4j.linalg.api.ndarray.INDArray; | |
/** | |
* Created by agibsonccc on 8/26/14. | |
*/ | |
public interface Classifier { | |
This file contains 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 characters
package org.deeplearning4j.nn.api; | |
import org.deeplearning4j.linalg.api.ndarray.INDArray; | |
/** | |
* Created by agibsonccc on 8/26/14. | |
*/ | |
public interface Classifier { | |
This file contains 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 characters
package org.deeplearning4j.nn.api; | |
import java.io.Serializable; | |
import java.util.Map; | |
import org.apache.commons.math3.distribution.RealDistribution; | |
import org.apache.commons.math3.random.RandomGenerator; | |
import org.deeplearning4j.berkeley.Pair; | |
import org.deeplearning4j.linalg.api.ndarray.INDArray; | |
import org.deeplearning4j.nn.Output; |
This file contains 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 characters
package org.deeplearning4j.nn.api; | |
import org.deeplearning4j.linalg.api.ndarray.INDArray; | |
/** | |
* A classifier (this is for supervised learning) | |
* | |
* @author Adam Gibson | |
*/ |
This file contains 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 characters
package org.deeplearning4j.nn.api; | |
import org.deeplearning4j.linalg.api.ndarray.INDArray; | |
import org.deeplearning4j.linalg.dataset.DataSet; | |
/** | |
* A classifier (this is for supervised learning) | |
* | |
* @author Adam Gibson |
This file contains 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 characters
package org.deeplearning4j.linalg.dataset.api; | |
import org.apache.commons.math3.random.RandomGenerator; | |
import org.deeplearning4j.linalg.api.ndarray.INDArray; | |
import org.deeplearning4j.linalg.dataset.SplitTestAndTrain; | |
import java.io.Serializable; | |
import java.util.Iterator; | |
import java.util.List; |
This file contains 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 characters
package org.deeplearning4j.nn.conf; | |
import org.apache.commons.math3.random.RandomGenerator; | |
import org.deeplearning4j.nn.WeightInit; | |
import org.deeplearning4j.nn.api.NeuralNetwork; | |
import java.io.Serializable; | |
import java.util.HashMap; | |
import java.util.Map; |