Class PredictedResult
Represents the predicted result and its probabilities
Inherited Members
Namespace: Syncfusion.PMML
Assembly: Syncfusion.PMML.Base.dll
Syntax
public class PredictedResult
Constructors
PredictedResult()
Declaration
public PredictedResult()
Properties
PredictedDataType
Gets the predicted data type
Declaration
public PredictedDataType PredictedDataType { get; }
Property Value
Type |
---|
PredictedDataType |
PredictedDoubleValue
Gets the predicted value as double data type. It returns predicted value only when predicting numeric field.
Declaration
public double PredictedDoubleValue { get; }
Property Value
Type |
---|
System.Double |
PredictedField
Gets the Predicted field (Column) name
Declaration
public string PredictedField { get; }
Property Value
Type |
---|
System.String |
PredictedStringValue
Gets the predicted value as string data type. It returns predicted value only when predicting categorical field.
Declaration
public string PredictedStringValue { get; }
Property Value
Type |
---|
System.String |
PredictedValue
Gets the predicted value. It returns the predicted value as object data type.
Declaration
public object PredictedValue { get; }
Property Value
Type |
---|
System.Object |
Methods
GetExclusiveRecommendations()
Method to get the Exclusive Recommended items
Declaration
public string[] GetExclusiveRecommendations()
Returns
Type | Description |
---|---|
System.String[] | Exclusive Recommended Items |
GetOutputFieldResults()
Get the result values for all Output fields
Declaration
public List<OutputField> GetOutputFieldResults()
Returns
Type |
---|
System.Collections.Generic.List<OutputField> |
GetPredictedCategories()
Method to get Predicted Field Names
Declaration
public string[] GetPredictedCategories()
Returns
Type | Description |
---|---|
System.String[] | predictedFields |
GetPredictedProbabilities()
Get the predicted probabilities for all categories as Key value pair
Declaration
public Dictionary<string, double> GetPredictedProbabilities()
Returns
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Double> |
GetPredictedProbability(String)
Gets the predicted probability for the input category
Declaration
public double GetPredictedProbability(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type |
---|
System.Double |
GetRecommendations()
Method to get the Recommended items
Declaration
public string[] GetRecommendations()
Returns
Type | Description |
---|---|
System.String[] | RecommendedItems |
GetRuleAssociations()
Method to get the Rules Associated Items
Declaration
public string[] GetRuleAssociations()
Returns
Type | Description |
---|---|
System.String[] | Rules associated items |