C# Класс Accord.IO.LibSvmModel

Reads support vector machines created from LibSVM or Liblinear. Not all solver types are supported.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateAlgorithm ( ) : ISupervisedLearning

Creates a support vector machine learning algorithm that attends the requisites specified in this model.

CreateMachine ( ) : Accord.MachineLearning.VectorMachines.SupportVectorMachine

Creates a SupportVectorMachine that attends the requisites specified in this model.

LibSvmModel ( ) : System

Creates a new LibSvmModel object.

Load ( Stream stream ) : LibSvmModel

Loads a model specified using LibSVM's model format from a stream.

Load ( string path ) : LibSvmModel

Loads a model specified using LibSVM's model format from disk.

Save ( Stream stream ) : void

Saves this model to disk using LibSVM's model format.

Save ( string path ) : void

Saves this model to disk using LibSVM's model format.

Описание методов

CreateAlgorithm() публичный Метод

Creates a support vector machine learning algorithm that attends the requisites specified in this model.
public CreateAlgorithm ( ) : ISupervisedLearning
Результат ISupervisedLearning

CreateMachine() публичный Метод

Creates a SupportVectorMachine that attends the requisites specified in this model.
public CreateMachine ( ) : Accord.MachineLearning.VectorMachines.SupportVectorMachine
Результат Accord.MachineLearning.VectorMachines.SupportVectorMachine

LibSvmModel() публичный Метод

Creates a new LibSvmModel object.
public LibSvmModel ( ) : System
Результат System

Load() публичный статический Метод

Loads a model specified using LibSVM's model format from a stream.
public static Load ( Stream stream ) : LibSvmModel
stream Stream The stream from where the model should be loaded.
Результат LibSvmModel

Load() публичный статический Метод

Loads a model specified using LibSVM's model format from disk.
public static Load ( string path ) : LibSvmModel
path string The file path from where the model should be loaded.
Результат LibSvmModel

Save() публичный Метод

Saves this model to disk using LibSVM's model format.
public Save ( Stream stream ) : void
stream Stream The stream where the file should be written.
Результат void

Save() публичный Метод

Saves this model to disk using LibSVM's model format.
public Save ( string path ) : void
path string The path where the file should be written.
Результат void