Re: [R] NAs error in caret function

2022-04-21 Thread Carlos Ortega
Hi, I do not see any issue with the code you provided. In this situation, you should use a more "debugging" approach for your problem until catching the problem. In this case, I would start using a much more simplified version of your "trainControl". No folds, just "cv" and "number = 2" and try.

Re: [R] NAs error in caret function

2022-04-20 Thread javed khan
Carlos Ortega, thank you for your answer. Class label has three values (Bug, Codel smell and Vulnerability). X is a text-based feature that include English statements and we performed some preprocessing such as removing symbols, lower-case etc. Yes, train_label is a factor class. *I can provide