Class NeuralNetworkModelEvaluator
Represents the evaluator for Neural network 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 NeuralNetworkModelEvaluator : PMMLEvaluator, IDisposable
Constructors
NeuralNetworkModelEvaluator(PMMLDocument)
Creates an Instance for NeuralNetworkModelEvaluator
Declaration
public NeuralNetworkModelEvaluator(PMMLDocument pmmlDocument)
Parameters
| Type | Name | Description |
|---|---|---|
| PMMLDocument | pmmlDocument | PMML file |
Methods
ComputeResult(Dictionary<String, Object>, NeuralNetworkModel)
Computes the scoring procedure of neural network model and return the predicted result
Declaration
public PredictedResult ComputeResult(Dictionary<string, object> fieldValuePair, NeuralNetworkModel neuralNetworkModel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> | fieldValuePair | input field, value pair |
| NeuralNetworkModel | neuralNetworkModel | neural network model |
Returns
| Type | Description |
|---|---|
| PredictedResult | Returns the predicted result |
GetResult(Object, IModelOptions)
Returns predicted result. Evaluates the given input against the scoring procedure of the neural network 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 | model options values, always null |
Returns
| Type | Description |
|---|---|
| PredictedResult | Returns the predicted result |
Overrides
Implements
System.IDisposable