Skip to content

[source]

Euclidean#

The straight line (bee line) distance between two points. Euclidean distance has the nice property of being invariant under any rotation.

Euclidean(a,b)=i=1n(aibi)2

Data Type Compatibility: Continuous

Parameters#

This kernel does not have any parameters.

Example#

use Rubix\ML\Kernels\Distance\Euclidean;

$kernel = new Euclidean();

References#


  1. J. K. Dixon. (1978). Pattern Recognition with Partly Missing Data.