Description Usage Arguments Value
Implement a CNN with two hidden layers and ReLU activation.
1 |
X |
A list of matrix-valued predictors. |
y |
Binary response variable. |
X_new |
A list of new matrices in the test data. |
plot.figure |
Option for plotting trajectory of accuracy over epochs. |
The returned object is a list of components.
prob
- The predicted probabilities for the test data.
class
- The estimated binary response for the test data.
history
- The trajectory of classification accuracy over epochs.
acc
- The classification accuracy on test data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.