Week 7 Videos

Using copy to avoid pandas warnings

Using the pandas DataFrame isin method to select just a subset of the rows, and later removing a pandas warning by using .copy().

KNeighborsClassifier

Applying the K-Nearest Neighbors classification algorithm using scikit-learn, and detecting the need for normalizing the data.

StandardScaler

How to normalize columns in a DataFrame so each column has mean 0 and standard deviation 1.

log_loss

How to compute the log_loss of the probability predictions from a classification algorithm.