type
Post
Created date
Jun 16, 2022 01:21 PM
category
Data Science
tags
Machine Learning
Machine Learning
status
Published
Language
From
summary
slug
password
Author
Priority
Featured
Featured
Cover
Origin
Type
URL
Youtube
Youtube
icon
Types

Manhattan Distance


  • The sum of absolute differences
Application
  • Used in the map to calculate the distance between two data points in a grid-like path
Mechanism
notion image
notion image

Minkowski distance


  • A generalization of the Euclidean distance and the Manhattan distance.
  • Is applied in machine learning to find out distance similarity.
 
Application
  • To find the distance measured between 2 points in N-dimensional space
  • See it as the correlation between 2 points
Mechanism
If C = 1 it is Manhattan Distance.
If C = 2 It is Euclidean distance.
notion image
 

Mahalanobis distance


Mahalanobis distance between two vectors, x and y, where S is the co-variance matrix.
  • Co-variance of two feature indicated how values of two features are varying together.
  • Measures how values of one feature are varying according to values of another feature.
  • Uses inverse of co-variance matrix, that is why we have a T
Application
  • Multivariate distance metric that measures the distance between a point (vector) and a distribution.
  • Has excellent applications in multivariate anomaly detection, classification on highly imbalanced datasets and one-class classification and more untapped use cases
Mechanism
notion image

 
 

Reference


Discover Activity - Discovering Your Inner WorldNon-linear (Flexible) Regression