Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to resolve error:non numeric argument to binary operator while applying LDA using caret

$
0
0

@pagal_guy wrote:

Hello,

I am using the below code to run lda from the caret package in R:

ldaModel <- train(df_train[,-16], df_train[,16], 
                  method='lda', 
                  trControl=Control,  
                  metric = "Accuracy",
                  preProc = c("center", "scale"))

However I am getting an error:

What does this error mean and how to remove it?r

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles