class XPSTextSentimentEvaluationMetrics extends Model (View source)

Properties

protected $confusionMatrixType
protected $confusionMatrixDataType
float $f1Score
float $linearKappa
float $meanAbsoluteError
float $meanSquaredError
float $precision
float $quadraticKappa
float $recall

Methods

setConfusionMatrix(XPSConfusionMatrix $confusionMatrix)

No description

setF1Score($f1Score)

No description

float
getF1Score()

No description

setLinearKappa($linearKappa)

No description

float
getLinearKappa()

No description

setMeanAbsoluteError($meanAbsoluteError)

No description

float
getMeanAbsoluteError()

No description

setMeanSquaredError($meanSquaredError)

No description

float
getMeanSquaredError()

No description

setPrecision($precision)

No description

float
getPrecision()

No description

setQuadraticKappa($quadraticKappa)

No description

float
getQuadraticKappa()

No description

setRecall($recall)

No description

float
getRecall()

No description

Details

setConfusionMatrix(XPSConfusionMatrix $confusionMatrix)

No description

Parameters

XPSConfusionMatrix $confusionMatrix

XPSConfusionMatrix getConfusionMatrix()

No description

Return Value

XPSConfusionMatrix

setF1Score($f1Score)

No description

Parameters

$f1Score

float getF1Score()

No description

Return Value

float

setLinearKappa($linearKappa)

No description

Parameters

$linearKappa

float getLinearKappa()

No description

Return Value

float

setMeanAbsoluteError($meanAbsoluteError)

No description

Parameters

$meanAbsoluteError

float getMeanAbsoluteError()

No description

Return Value

float

setMeanSquaredError($meanSquaredError)

No description

Parameters

$meanSquaredError

float getMeanSquaredError()

No description

Return Value

float

setPrecision($precision)

No description

Parameters

$precision

float getPrecision()

No description

Return Value

float

setQuadraticKappa($quadraticKappa)

No description

Parameters

$quadraticKappa

float getQuadraticKappa()

No description

Return Value

float

setRecall($recall)

No description

Parameters

$recall

float getRecall()

No description

Return Value

float