Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between Classification and Regression learners #320

Open
lincj1994 opened this issue Nov 8, 2024 · 0 comments
Open

Difference between Classification and Regression learners #320

lincj1994 opened this issue Nov 8, 2024 · 0 comments

Comments

@lincj1994
Copy link

lincj1994 commented Nov 8, 2024

Hi,
I have a question regarding the difference between Classification and Regression learners (e.g., classif.glmnet vs regr.glmnet, and classif.randomForest vs regr.randomForest). From my initial understanding, both types of learners seem to work well for prediction tasks where the goal is to build a predictive model for a two-class dependent variable.
I know that Classification learners are typically used for predicting class labels (e.g., 0 or 1, or multiple categories), while Regression learners are designed for predicting continuous outcomes. However, I believe that Regression learners can also be used for predicting class labels. Is this correct?
Could someone clarify the distinctions between these learners and when to use each one?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant