C# Класс Recognizer.SerializableHmm

Наследование: ISerializable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void

Specifies the attributes that should be serialized.

LoadFromDisk ( ) : HiddenMarkovModel

Loads and returns a HMM that was previously serialized to disk.

SaveToDisk ( ) : void

Saves this HMM representation to disk.

SerializableHmm ( SerializationInfo info, StreamingContext ctxt ) : System

Deserializes the object.

SerializableHmm ( string name, HiddenMarkovModel hmm ) : System

Saves to this object the information necessary for later reconstructing the given HMM.

SerializableHmm ( string actName, HiddenMarkovModel hmm, Accord pca ) : System
SerializableHmm ( string name, string directory ) : System

Prepares this object for the deserialization of the HMM that was previously serialized with the given name.

Приватные методы

Метод Описание
construct ( HiddenMarkovModel hmm ) : void
getPCA ( ) : Accord.Statistics.Analysis.PrincipalComponentAnalysis

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

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

Specifies the attributes that should be serialized.
public GetObjectData ( SerializationInfo info, StreamingContext ctxt ) : void
info System.Runtime.Serialization.SerializationInfo the data necessary to deserialize this object
ctxt System.Runtime.Serialization.StreamingContext specifies the serialization stream
Результат void

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

Loads and returns a HMM that was previously serialized to disk.
public LoadFromDisk ( ) : HiddenMarkovModel
Результат HiddenMarkovModel

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

Saves this HMM representation to disk.
public SaveToDisk ( ) : void
Результат void

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

Deserializes the object.
public SerializableHmm ( SerializationInfo info, StreamingContext ctxt ) : System
info System.Runtime.Serialization.SerializationInfo the data necessary to deserialize this object
ctxt System.Runtime.Serialization.StreamingContext specifies the serialization stream
Результат System

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

Saves to this object the information necessary for later reconstructing the given HMM.
public SerializableHmm ( string name, HiddenMarkovModel hmm ) : System
name string the name of this HMM
hmm HiddenMarkovModel the HMM to store
Результат System

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

public SerializableHmm ( string actName, HiddenMarkovModel hmm, Accord pca ) : System
actName string
hmm HiddenMarkovModel
pca Accord
Результат System

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

Prepares this object for the deserialization of the HMM that was previously serialized with the given name.
public SerializableHmm ( string name, string directory ) : System
name string the name of this HMM
directory string
Результат System