Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
tests
Classification
KNearestNeighborsTest
PHP Class tests\Classification\KNearestNeighborsTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: php-ai/php-ml
Public Methods
Method
Description
testPredictArrayOfSamples
( )
testPredictArrayOfSamplesUsingChebyshevDistanceMetric
( )
testPredictSingleSampleWithDefaultK
( )
Method Details
testPredictArrayOfSamples()
public
method
public
testPredictArrayOfSamples
( )
testPredictArrayOfSamplesUsingChebyshevDistanceMetric()
public
method
public
testPredictArrayOfSamplesUsingChebyshevDistanceMetric
( )
testPredictSingleSampleWithDefaultK()
public
method
public
testPredictSingleSampleWithDefaultK
( )