Closed mb706 closed 1 month ago
I believe nnet uses model.matrix() together with the given formula to convert incoming data to a numeric matrix. As far as I can see, this can handle logical features, so classif.nnet and regr.nnet 'feature_types' should include 'logical'.
Thanks. Done.
I believe nnet uses model.matrix() together with the given formula to convert incoming data to a numeric matrix. As far as I can see, this can handle logical features, so classif.nnet and regr.nnet 'feature_types' should include 'logical'.