SVMModel::__construct
(PECL svm >= 0.1.0)
SVMModel::__construct — Construct a new SVMModel
Описание
public SVMModel::__construct
([ string
$filename
] )Build a new SVMModel. Models will usually be created from the SVM::train function, but then saved models may be restored directly.
Список параметров
-
filename
-
The filename for the saved model file this model should load.
Возвращаемые значения
Throws SVMException on error
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Другие службы
- Support Vector Machine
- Функция SVMModel::checkProbabilityModel() - Returns true if the model has probability information
- Функция SVMModel::__construct() - Construct a new SVMModel
- Функция SVMModel::getLabels() - Get the labels the model was trained on
- Функция SVMModel::getNrClass() - Returns the number of classes the model was trained with
- Функция SVMModel::getSvmType() - Get the SVM type the model was trained with
- Функция SVMModel::getSvrProbability() - Get the sigma value for regression types
- Функция SVMModel::load() - Load a saved SVM Model
- Функция SVMModel::predict_probability() - Return class probabilities for previous unseen data
- Функция SVMModel::predict() - Predict a value for previously unseen data
- Функция SVMModel::save() - Save a model to a file
Коментарии
404 Not Found