PHP » GoLang |
login |
register |
about
|
GoLang SVMModel::predict_probability
request it (330)
GoLang replacement for PHP's SVMModel::predict_probability
[edit | history]
PHP SVMModel::predict_probabilityPHP original manual for SVMModel::predict_probability [ show | php.net ]SVMModel::predict_probability(PECL svm >= 0.1.4) SVMModel::predict_probability — Return class probabilities for previous unseen data Description
public float SVMModel::predict_probability
( array
$data
)This function accepts an array of data and attempts to predict the class, as with the predict function. Additionally, however, this function returns an array of probabilities, one per class in the model, which represent the estimated chance of the data supplied being a member of that class. Requires that the model to be used has been trained with the probability parameter set to true. Parameters
Return ValuesFloat the predicted value. This will be a class label in the case of classification, a real value in the case of regression. Throws SVMException on error See Also
|
more
Recently updated
more
Most requested
more
Last requests
|