Logistic regression
A classification algorithm is a process whose input is a training set, as previously described, and whose output is a function that classifies data points. The ID3 algorithm produces a decision tree for the classification function. The naive Bayes algorithm produces a function that classifies by computing ratios from the training set. The SVM algorithm produces an equation of a hyperplane (or hypersurface) that classifies a point by computing on which side of the hyperplane the point lies.
In all three of these algorithms, we assumed that all the attributes of the training set were nominal. If the attributes are instead numeric, we can apply linear regression, as we did in Chapter 6, Regression Analysis. The idea of logistic ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access