C# Class Accord.IO.LibSvmModel

Reads support vector machines created from LibSVM or Liblinear. Not all solver types are supported.
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

CreateAlgorithm() public méthode

Creates a support vector machine learning algorithm that attends the requisites specified in this model.
public CreateAlgorithm ( ) : ISupervisedLearning
Résultat ISupervisedLearning

CreateMachine() public méthode

Creates a SupportVectorMachine that attends the requisites specified in this model.
public CreateMachine ( ) : Accord.MachineLearning.VectorMachines.SupportVectorMachine
Résultat Accord.MachineLearning.VectorMachines.SupportVectorMachine

LibSvmModel() public méthode

Creates a new LibSvmModel object.
public LibSvmModel ( ) : System
Résultat System

Load() public static méthode

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.
Résultat LibSvmModel

Load() public static méthode

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.
Résultat LibSvmModel

Save() public méthode

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.
Résultat void

Save() public méthode

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.
Résultat void