update page now
Laravel Live Japan

SVMModel::predict

(PECL svm >= 0.1.0)

SVMModel::predictPredict a value for previously unseen data

Descrizione

public SVMModel::predict(array $data): float

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.

Elenco dei parametri

data

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

Valori restituiti

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

Vedere anche:

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant