Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Phpml
Math
Distance
Minkowski
PHP Class Phpml\Math\Distance\Minkowski
Inheritance:
implements
Phpml\Math\Distance
Mostrar archivo
Open project: php-ai/php-ml
Class Usage Examples
Public Methods
Method
Description
__construct
(
float
$lambda
= 3 )
distance
(
array
$a
,
array
$b
) :
float
Method Details
__construct()
public
method
public
__construct
(
float
$lambda
= 3 )
$lambda
float
distance()
public
method
public
distance
(
array
$a
,
array
$b
) :
float
$a
array
$b
array
return
float