|
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.8.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
<ObsoleteAttribute("Please use Accord.IO.Serializer.Load<NaiveBayes<TDistribution>>(path) instead.")>
Public Shared Function Load(Of TDistribution As {Object, IFittableDistribution(Of Double), IUnivariateDistribution(Of Double), IUnivariateDistribution}) (
path As String
) As NaiveBayes(Of TDistribution)
Request Example
View SourceParameters
- 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:
NaiveBayesTDistributionThe deserialized machine.
See Also