downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SVMModel::save> <SVMModel::predict_probability
[edit] Last updated: Fri, 07 Jun 2013

view this page in

SVMModel::predict

(PECL svm >= 0.1.0)

SVMModel::predictPredict a value for previously unseen data

Descrierea

public float SVMModel::predict ( array $data )

This function accepts an array of data and attempts to predict the class or regression value based on the model extracted from previously trained data.

Parametri

data

The array to be classified. This should be a series of key => value pairs in increasing key order, but not necessarily continuous.

Valorile întoarse

Float 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

Vedeți de asemenea



add a note add a note User Contributed Notes SVMModel::predict - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites