Size parameter in the nnet method
sjevelazco opened this issue · 0 comments
sjevelazco commented
Write a code to calculate a default value for the parameter size in the net method
It must be implemented in fit_nnet
nnet::nnet(
formula1,
data = train[[i]],
size = 2, # revise and implement a formula to calculate it
rang = 0.1,
# decay = grid$decay[ii],
maxit = 200,
trace = FALSE
)