Mindmajix Machine Learning community is an active group of developers, researchers, data scientists and business decision-makers that dive deep into machine learning concepts, contribute real-world experiences, and support complex problems together. Whether you're just getting started with ML or already an expert, there is always something new to learn. Join the forum to keep up to date with Machine learning industry news.
Hello, While I’m working on R caret Linear Regression model. I’m trying to execute a confusion matrix and then I’m getting this below:
Error in confusionMatrix.default(pred, testing$Final): the data and reference factors must have the same number of levels.
Can anyone tell me What does it mean, Why this error occurs, and How to fix this error?
Posted on 29th June 2020 | 371 views