Re: [R] Different TFIDF settings in test set prevent testing model

2023-08-11 Thread James C Schopf
uot;, number = 5, repeats = 2, classProbs = TRUE) model_svmRadial <- train(M2 ~ ., data = trainData, method = "svmRadial", trControl = ctrl) ________ From: Ivan Krylov Sent: Saturday, August 12, 2023 12:49 AM To: James C Schopf Cc: r-help@r-project.org Sub

[R] Different TFIDF settings in test set prevent testing model

2023-08-11 Thread James C Schopf
Hello, I'd be very grateful for your help. I randomly separated a .csv file with 1287 documents 75%/25% into 2 csv files, one for training an algorithm and the other for testing the algorithm. I applied similar preprocessing, including TFIDF transformation, to both sets, but R won't let me mak