Click or drag to resize
Accord.NET (logo)

NaiveBayesLoadTDistribution Method (String)

Note: This API is now obsolete.

Loads a machine from a file.

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.0
Syntax
[ObsoleteAttribute("Please use Accord.IO.Serializer.Load<NaiveBayes<TDistribution>>(path) instead.")]
public static NaiveBayes<TDistribution> Load<TDistribution>(
	string path
)
where TDistribution : Object, IFittableDistribution<double>, IUnivariateDistribution<double>, IUnivariateDistribution
Request Example View Source

Parameters

path
Type: SystemString
The path to the file from which the Naïve Bayes model is to be deserialized.

Type Parameters

TDistribution

Return Value

Type: NaiveBayesTDistribution
The deserialized machine.
See Also