"wrong model type for regression" when attempting multinomial model with caret

35 Views Asked by At

Tried running this code multiple different times and in different ways but still getting error.

library(caret)

model_multinom <- train(
  Group ~ GPA + GMAT, 
  data = train_data,
  method = "multinom", 
  trControl = trainControl(method = "none"), 
  preProcess = c("center", "scale"),
  na.action = na.omit
)

# Error: wrong model type for regression
0

There are 0 best solutions below