represents a perceptron net for prediction.
PerceptronNetModel[hpars]
uses the custom hyperparameters hpars.
PerceptronNetModel[hpars,vars]
use the provided variables vars.
PerceptronNetModel
represents a perceptron net for prediction.
PerceptronNetModel[hpars]
uses the custom hyperparameters hpars.
PerceptronNetModel[hpars,vars]
use the provided variables vars.
Details
- PerceptronNetModel models a classification or regression task as a multilayer perceptron neural net.
- The following hyperparameters may be specified to control the perceptron net:
-
"Depth" 2 number of layers "Width" 10 size of the layers "Activation" Tanh layer specification - Deeper models can learn more complex, hierarchical patterns by building up abstractions layer by layer but require more data and training time. "Depth" can be increased when hierarchical structure in relationships between variables is suspected.
- Wider models can capture more variation and nuances in the data at each level of abstraction but use more parameters and memory. "Width" can be increased when there are many samples and there is need to capture more complex patterns at each level.
Hyperparameters
Examples
open all close allBasic Examples (3)
Scope (15)
Hyperparameters (3)
Variables (3)
Define a net with a specific number of variables:
ModelFit will assume the number of variables is one less than the dimensionality of data points:
Evaluation (3)
Information (5)
See Also
History
Text
Wolfram Research (2026), PerceptronNetModel, Wolfram Language function, https://reference.wolfram.com/language/ref/PerceptronNetModel.html.
CMS
Wolfram Language. 2026. "PerceptronNetModel." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PerceptronNetModel.html.
APA
Wolfram Language. (2026). PerceptronNetModel. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PerceptronNetModel.html
BibTeX
@misc{reference.wolfram_2026_perceptronnetmodel, author="Wolfram Research", title="{PerceptronNetModel}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/PerceptronNetModel.html}", note=[Accessed: 22-July-2026]}
BibLaTeX
@online{reference.wolfram_2026_perceptronnetmodel, organization={Wolfram Research}, title={PerceptronNetModel}, year={2026}, url={https://reference.wolfram.com/language/ref/PerceptronNetModel.html}, note=[Accessed: 22-July-2026]}