C# Class Encog.Persist.Persistors.SVMNetworkPersistor

Persist a SVM network.
Inheritance: IPersistor
Mostra file Open project: encog/encog-silverlight-core

Public Properties

Property Type Description
kernel_type_table String[]
svm_type_table String[]

Public Methods

Method Description
Load ( ReadXML xmlin ) : IEncogPersistedObject

Load the SVM network.

Save ( IEncogPersistedObject obj, WriteXML xmlout ) : void

Save a SVMNetwork.

SaveModel ( WriteXML xmlout, svm_model model ) : void

Save a model.

Private Methods

Method Description
HandleData ( ReadXML xmlin, svm_model model ) : void

Load the data from a model.

HandleModel ( ReadXML xmlin, svm_model model ) : void

Handle a model.

HandleModels ( ReadXML xmlin, SVMNetwork network ) : void

Load the models.

Method Details

Load() public method

Load the SVM network.
public Load ( ReadXML xmlin ) : IEncogPersistedObject
xmlin Encog.Parse.Tags.Read.ReadXML Where to read it from.
return IEncogPersistedObject

Save() public method

Save a SVMNetwork.
public Save ( IEncogPersistedObject obj, WriteXML xmlout ) : void
obj IEncogPersistedObject The object to save.
xmlout Encog.Parse.Tags.Write.WriteXML Where to save it to.
return void

SaveModel() public static method

Save a model.
public static SaveModel ( WriteXML xmlout, svm_model model ) : void
xmlout Encog.Parse.Tags.Write.WriteXML Where to save a model to.
model Encog.MathUtil.LIBSVM.svm_model The model to save to.
return void

Property Details

kernel_type_table public_oe static_oe property

Constants for the kernel types.
public static String[] kernel_type_table
return String[]

svm_type_table public_oe static_oe property

Constants for the SVM types.
public static String[] svm_type_table
return String[]