Class NaiveBayesModelEvaluator
Represents the evaluator of Naive Bayes model
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.PMML
Assembly: Syncfusion.PMML.Base.dll
Syntax
public class NaiveBayesModelEvaluator : PMMLEvaluator, IDisposable
Constructors
NaiveBayesModelEvaluator(PMMLDocument)
Create instance for Naive Bayes Model Evaluator.
Declaration
public NaiveBayesModelEvaluator(PMMLDocument pmmlDocument)
Parameters
Type | Name | Description |
---|---|---|
PMMLDocument | pmmlDocument | pmml Document object |
Methods
GetResult(Object, IModelOptions)
Returns predicted result. Evaluates the given input against the scoring procedure of the Naive Bayes model and returns the predicted result.
Declaration
public override PredictedResult GetResult(object obj, IModelOptions modelOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | object data |
IModelOptions | modelOptions | Naive options values |
Returns
Type | Description |
---|---|
PredictedResult | Returns the predicted result |
Overrides
Implements
System.IDisposable