Class NaiveBayesModelEvaluator
Represents the evaluator of Naive Bayes model
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.PMML
Assembly: Syncfusion.PMML.Portable.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