print.citodnn {cito}R Documentation

Print class citodnn

Description

Print class citodnn

Usage

## S3 method for class 'citodnn'
print(x, ...)

Arguments

x

a model created by dnn

...

additional arguments

Value

prediction matrix

original object x gets returned

Examples


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,])

# Sturcture of Neural Network
print(nn.fit)
}


[Package cito version 1.0.0 Index]