PredictorClient.bFailOnUnknownInputAttributes
The read/write bFailOnUnknownInputAttributes property controls whether the Predict method continues or fails when encountering unknown input attributes.
Definition
Property bFailOnUnknownInputAttributes As Boolean
Parameters
None.
Error Values
This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
This property is used as a debugging flag. By default, the Predict method ignores unknown input attributes. Setting this property to True causes the Predict method to fail when unknown input attributes are encountered.
When debugging, set a default value for this property in the global.asa file to avoid setting the value for each Predict method call.
Load the prediction model using the LoadModelFromDB or LoadModelFromFile methods prior to accessing this property.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.