ML Exam Prep: 10 - Key Algorithms
ML Exam Prep Key Algorithms Common Algorithms: K-Means algorithm = UL . No e vent planning by 1) K = # of K leaders for people to cluster around, 2) each data point finds closest leader, and 3) the leader moves to the Means = math mean (center) of their group. finds hidden or unlabeled patterns. KNN algorithm = SL. C lassification . finds absolute distance of data point to class of its neighbors. Ex answers : "Apple", "Orange", "Spam", "Not Spam". Label encoding = City name ("Dallas", "Paris", "London") to single column of City of (1, 2, 3). Linear regression algorithm = SL. predicts "best-fit" line of min diff between input and output. Can be negative. Answer is continuous range. D isadv: fails with skewed data. Logistic regression algorithm = SL. C lassification. e stimates % that input is in category by predicting binary outcome of using Logistic function and Log-odds . Answer is 0 to 1. O...