Distance Between Examples
Two examples become points when each feature is a direction, the straight-line (Euclidean) distance between them comes from the Pythagorean theorem and math.dist works it out for any number of features, and a feature measured in big units, like grams, swamps one scored from 0 to 10 until the features are put on a common scale.
Updated

- Category
- Machine Learning
- Level
- Apprentice
- Tags
- ai, Euclidean Distance, Feature (ai), Feature Scaling, Pythagorean Theorem, python