Click or drag to resize
Accord.NET (logo)

NaiveBayesLoad Method (Stream)

Note: This API is now obsolete.

Loads a machine from a stream.

Namespace:  Accord.MachineLearning.Bayes
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Accord.IO.Serializer.Load<NaiveBayes>(stream) instead.")]
public static NaiveBayes Load(
	Stream stream
)
Request Example View Source

Parameters

stream
Type: System.IOStream
The stream from which the Naïve Bayes model is to be deserialized.

Return Value

Type: NaiveBayes
The deserialized machine.
See Also