|
NaiveBayesLoadTDistribution 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<TDistribution>>(stream) instead.")]
public static NaiveBayes<TDistribution> Load<TDistribution>(
Stream stream
)
where TDistribution : Object, IFittableDistribution<double>, IUnivariateDistribution<double>, IUnivariateDistribution
<ObsoleteAttribute("Please use Accord.IO.Serializer.Load<NaiveBayes<TDistribution>>(stream) instead.")>
Public Shared Function Load(Of TDistribution As {Object, IFittableDistribution(Of Double), IUnivariateDistribution(Of Double), IUnivariateDistribution}) (
stream As Stream
) As NaiveBayes(Of TDistribution)
Request Example
View SourceParameters
- stream
- Type: System.IOStream
The stream from which the Naïve Bayes model is to be deserialized.
Type Parameters
- TDistribution
Return Value
Type:
NaiveBayesTDistributionThe deserialized machine.
See Also