SVMModel::save
(PECL svm >= 0.1.0)
SVMModel::save — Save a model to a file
Описание
public bool SVMModel::save
( string
$filename
)Save the model data to a file, for later use.
Список параметров
-
filename
-
The file to save the model to.
Возвращаемые значения
Throws SVMException on error. Returns true on success.
- 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