逻辑回归是分类还是回归
You might have come across the terms Regression and Classification, and might as well think they mean one and the same thing. But this is not true.
您可能遇到过回归和分类这两个术语,并且可能还以为它们含义相同。 但是这是错误的。
Machine Learning is subdivided largely into supervised and unsupervised. Supervised Learning is further divided into Regression and Classification. Regression deals with predicting the value of a test case given,after learning from the training set taken, whose value is continuous and Classification means categorizing data into a binary test case, say Y/N case or True/False case, learning from the training set. Thus, in classification we play with probabilities and thus predict the outcome.
机器学习主要分为有监督的和无监督的。 监督学习又分为回归和分类。 回归处理是在从所接受的训练集学习后预测给出的测试用例的价值 ,该训练用例的值是连续的;分类是将数据分类为二进制测试用例(例如,Y / N用例或True / False用例),从训练中学习组。 因此,在分类中我们玩概率,从而预测结果。
For example predicting the height, weight or salary of people fall in the category of Regression. Many regression models can be used to predict these attributes. Classification on the other hand is all about whether or not an action will be performed. For example, Will the people buy a particular car or house given their salary and age, tossing of a fair coin given number of trials, will the investors invest in a specific share given their past interests; all can be classified as Yes or No problems and are examples of classification problems
例如,预测人的身高ÿ