#L2 Norm
Tags: 1 post
July 20, 2019
•
2 min read
Nearest Neighbors using L2 and L1 Distance
Preliminaries Distance Matrics L2 Norm L1 Norm Nearest Neighbor Using L2 Distance Using L1 Distance Predictions Errors Confusion Matrix Using Pandas From Scratch Preliminaries import numpy as np # Load data set and code labels as 0 = ’NO’, 1 = ’DH’, …