I am using the nnet package for classification of a target column with 3 states
model <- nnet(targetcolumn ~ ., data=DATAFRAME)
But I want it to use entropy instead of default softmax and when I set softmax=false , it fails with the error :
model <- nnet(targetcolumn ~ ., data=DATAFRAME, maxit=1000, MaxNWts=10000,softmax=FALSE, entropy=TRUE)
Error in nnet.default(x, y, w, softmax = false, ...) :
formal argument "softmax" matched by multiple actual arguments
Is there a way to somehow use entropy modelling in this scenario?