"NeuralNetwork" (Machine Learning Method)
-
See Also
- Classify
- Predict
- NetTrain
- ClassifierFunction
- PredictorFunction
- ClassifierMeasurements
- PredictorMeasurements
- SequencePredict
- ClusterClassify
-
- Methods
- DecisionTree
- LinearRegression
- LogisticRegression
- GaussianProcess
- GradientBoostedTrees
- Markov
- NaiveBayes
- NearestNeighbors
- RandomForest
- SupportVectorMachine
-
-
See Also
- Classify
- Predict
- NetTrain
- ClassifierFunction
- PredictorFunction
- ClassifierMeasurements
- PredictorMeasurements
- SequencePredict
- ClusterClassify
-
- Methods
- DecisionTree
- LinearRegression
- LogisticRegression
- GaussianProcess
- GradientBoostedTrees
- Markov
- NaiveBayes
- NearestNeighbors
- RandomForest
- SupportVectorMachine
-
See Also
"NeuralNetwork" (Machine Learning Method)
Details & Suboptions
- A neural network consists of stacked layers, each performing a simple computation. Information is processed layer by layer from the input layer to the output layer. The neural network is trained to minimize a loss function on the training set using gradient descent.
- The following options can be given:
-
MaxTrainingRounds Automatic maximum number of iterations over the dataset "NetworkDepth" Automatic the depth of the network - The option "NetworkDepth" controls the capacity of the network. A deeper network will be able to fit more complex patterns but will be more prone to overfitting.
- The option MaxTrainingRounds can be used to speed up the training but also as a regularization parameter: setting a lower value can prevent overfitting.
Examples
open all close allBasic Examples (2)
Options (2)
MaxTrainingRounds (1)
Generate a training set and visualize it:
Train two predictors using different MaxTrainingRounds and compare their performances on the training set:
"NetworkDepth" (1)
Use the "NetworkDepth" suboption to specify the number of units in the neural network:
Train a second PredictorFunction by changing the "NetworkDepth":
See Also
Classify Predict NetTrain ClassifierFunction PredictorFunction ClassifierMeasurements PredictorMeasurements SequencePredict ClusterClassify
Methods: DecisionTree LinearRegression LogisticRegression GaussianProcess GradientBoostedTrees Markov NaiveBayes NearestNeighbors RandomForest SupportVectorMachine