Class PMMLEvaluator
Represents the base methods and properties for all Model Evaluators.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.PMML
Assembly: Syncfusion.PMML.Base.dll
Syntax
public abstract class PMMLEvaluator : IDisposable
Constructors
PMMLEvaluator()
Declaration
protected PMMLEvaluator()
Properties
CultureInfo
Gets or Sets the Culture Info for PMML Evaluator to evaluate the input data.
Declaration
public CultureInfo CultureInfo { get; set; }
Property Value
Type |
---|
System.Globalization.CultureInfo |
Remarks
By default, Culture used by the current thread is set.
PMMLDocument
Get / Set the PMMLDocument.
Declaration
public PMMLDocument PMMLDocument { get; set; }
Property Value
Type |
---|
PMMLDocument |
PMMLModel
Gets the PMMLModel
Declaration
public PMMLModel PMMLModel { get; }
Property Value
Type |
---|
PMMLModel |
Methods
Dispose()
Releases the memory occupied by objects
Declaration
public void Dispose()
GetResult(Dictionary<String, Object>, IModelOptions)
Returns predicted result. Evaluates the given input against the scoring procedure of the PMML model and returns the predicted result.
Declaration
public virtual PredictedResult GetResult(Dictionary<string, object> obj, IModelOptions modelOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | obj | Dictionary object |
IModelOptions | modelOptions | model options values, always null |
Returns
Type | Description |
---|---|
PredictedResult | Returns the predicted result |
GetResult(ExpandoObject, IModelOptions)
Returns predicted result. Evaluates the given input against the scoring procedure of the PMML model and returns the predicted result.
Declaration
public virtual PredictedResult GetResult(ExpandoObject obj, IModelOptions modelOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.ExpandoObject | obj | ExpandoObject data |
IModelOptions | modelOptions | model options values, always null |
Returns
Type | Description |
---|---|
PredictedResult | Returns the predicted result |
GetResult(Object, IModelOptions)
Returns predicted result. Evaluates the given input against the scoring procedure of the PMML model and returns the predicted result.
Declaration
public virtual PredictedResult GetResult(object obj, IModelOptions modelOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | anonymous object |
IModelOptions | modelOptions | model options values, always null |
Returns
Type | Description |
---|---|
PredictedResult | Returns the predicted result |