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
Phpml
Metric
Accuracy
PHP Class Phpml\Metric\Accuracy
Show file
Open project: php-ai/php-ml
Public Methods
Method
Description
score
(
array
$actualLabels
,
array
$predictedLabels
,
boolean
$normalize
= true ) :
float
|
integer
Method Details
score()
public
static
method
public
static
score
(
array
$actualLabels
,
array
$predictedLabels
,
boolean
$normalize
= true ) :
float
|
integer
$actualLabels
array
$predictedLabels
array
$normalize
boolean
return
float
|
integer