/// <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)); }
/// <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)); }