print.citodnn | R Documentation |
Print class citodnn
## S3 method for class 'citodnn'
print(x, ...)
## S3 method for class 'citodnnBootstrap'
print(x, ...)
x |
a model created by |
... |
additional arguments |
original object x gets returned
if(torch::torch_is_installed()){
library(cito)
set.seed(222)
validation_set<- sample(c(1:nrow(datasets::iris)),25)
# Build and train Network
nn.fit<- dnn(Sepal.Length~., data = datasets::iris[-validation_set,])
# Structure of Neural Network
print(nn.fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.