Click or drag to resize
Accord.NET (logo)

NaiveBayesLoad 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.7.0
Syntax
[ObsoleteAttribute("Please use Accord.IO.Serializer.Load<NaiveBayes>(path) instead.")]
public static NaiveBayes Load(
	string path
)
Request Example View Source

Parameters

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

Return Value

Type: NaiveBayes
The deserialized machine.
See Also