Construction Notebook for:
Self-Normalizing Net for Numeric Data
Construction Notebook for:
Self-Normalizing Net for Numeric Data
Self-Normalizing Net for Numeric Data
NetModel Access
NetModel Access
This Notebook
This Notebook
NetModel["Self-Normalizing Net for Numeric Data","ConstructionNotebook"]
Training Net
Training Net
NetModel["Self-Normalizing Net for Numeric Data"]
Net Construction
Net Construction
Intermediate Functions
Intermediate Functions
In[]:=
SNNnet[dropoutrate_,nhidden_,nlayers_,class_:True]:=NetChain[Join[Table[NetChain[{LinearLayer[nhidden],ElementwiseLayer["SELU"],DropoutLayer[dropoutrate,"Method""AlphaDropout"]}],nlayers-1],{LinearLayer[],If[class,SoftmaxLayer[],Nothing]}]]
Final Net
Final Net
In[]:=
snnClassification=SNNnet[0.01,50,8,True]
Out[]=
NetChain
In[]:=
snnregression=SNNnet[0.01,50,8,False]
Out[]=
NetChain
Training
Training
(Performed separately on each example)