Description Usage Arguments Examples
Create setting for neural network model with python
1 2 3 4 5 6 7 8 9 10 |
size |
The number of hidden nodes |
w_decay |
The l2 regularisation |
epochs |
The number of epochs |
seed |
A seed for the model |
class_weight |
The class weight used for imbalanced data: 0: Inverse ratio between positives and negatives -1: Focal loss |
mlp_type |
The type of multiple layer network, inlcuding MLP and SNN (self-normalizing neural network) |
autoencoder |
First learn stakced autoencoder for input features, then train MLP on the encoded features. |
vae |
First learn stakced varational autoencoder for input features, then train MLP on the encoded features. |
1 2 3 4 | ## Not run:
model.mlpTorch <- setMLPTorch()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.