Hey WuGi,

It’s because regression is trying to predict a single, continuous value. With binary classification, you get a final label of 0 or 1, but in reality, the model will predict two values, 1 for each class.

There’s a detailed explanation for both in the docs too if you’d like more info.

AI researcher, avid reader, fantasy and Sci-Fi geek, and fan of the Oxford comma. www.linkedin.com/in/t-rajapakse/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store