예제 #1
0
 /// <summary>
 ///   Loads a classifier from a file.
 /// </summary>
 ///
 /// <param name="path">The path to the file from which the classifier is to be deserialized.</param>
 ///
 /// <returns>The deserialized classifier.</returns>
 ///
 public static HiddenMarkovClassifier <TDistribution> Load <TDistribution>(string path)
     where TDistribution : IDistribution
 {
     return(HiddenMarkovClassifier <TDistribution> .Load(path));
 }
예제 #2
0
 /// <summary>
 ///   Loads a classifier from a stream.
 /// </summary>
 ///
 /// <param name="stream">The stream from which the classifier is to be deserialized.</param>
 ///
 /// <returns>The deserialized classifier.</returns>
 ///
 public static HiddenMarkovClassifier <TDistribution> Load <TDistribution>(Stream stream)
     where TDistribution : IDistribution
 {
     return(HiddenMarkovClassifier <TDistribution> .Load(stream));
 }