| cla_multinom | R Documentation |
Multiclass classification using nnet::multinom.
cla_multinom(attribute, features = NULL)
attribute |
target attribute name |
features |
optional vector of feature names (default: all except attribute) |
returns a cla_multinom object
data(iris)
model <- cla_multinom("Species")
model <- fit(model, iris)
pred <- predict(model, iris)
table(pred, iris$Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.