public Fit ( double observations, double weights, Fitting options ) : void | ||
observations | double | The array of observations to fit the model against. The array /// elements can be either of type double (for univariate data) or /// type double[] (for multivariate data). |
weights | double | The weight vector containing the weight for each of the samples. |
options | Fitting | Optional arguments which may be used during fitting, such /// as regularization constants and additional parameters. |
Результат | void |
public override void Fit(double[][] observations, double[] weights, Fitting.IFittingOptions options)
{
HiddenMarkovOptions normalOptions = options as HiddenMarkovOptions;
if (options != null && normalOptions == null)
throw new ArgumentException("The specified options' type is invalid.", "options");
Fit(observations, weights, normalOptions);
}
HiddenMarkovDistribution::Fit ( double observations, double weights, |