|
_.Library.Status | DropAllResults () |
| This class bundles a number of utility methods for running PMML models and managing their results. More...
|
|
_.Library.Status | DropResults (_.Library.Integer pTestId) |
| Drops all results for a given test ID from the <class>DeepSee.PMML.Utils.TempResult</class> More...
|
|
_.Library.Status | RunModel (_.Library.Integer pResultsId, _.Library.String pDefinitionClass, _.Library.String pModelName, _.Library.String pDataSource, _.Library.String pResultsClass, _.Library.Boolean pTracking) |
|
_.Library.Status | RunModelFromPMMLRows (_.Library.Integer pResultsId, _.Library.String pDefinitionClass, _.Library.String pModelName, _.Library.String pResultsClass, _.Library.Boolean pTracking) |
|
_.Library.Status | RunModelFromResultSet (_.Library.Integer pResultsId, _.Library.String pDefinitionClass, _.Library.String pModelName, _.Library.ResultSet pResultSet, pFieldMap, _.Library.String pResultsClass, _.Library.Boolean pTracking) |
|
_.Library.Status | RunModelFromSQL (_.Library.Integer pResultsId, _.Library.String pDefinitionClass, _.Library.String pModelName, _.Library.String pSQL, pFieldMap, pSQLParams, _.Library.String pResultsClass, _.Library.Boolean pTracking) |
|
This class bundles a number of utility methods for running PMML models and managing their results.
Test a DeepSee or SQL-linked PMML model by running the model against all records in the
Data Source pDatasource specified in the model definition, defaulting to the first datasource definition found in the model.
Use pResultsClass to define the class (subclass of <class>DeepSee.PMML.Utils.Result</class>) the results of this batch run will be written to. This defaults to <class>DeepSee.PMML.Utils.TempResult</class>, which stores its data in the Temp database and therefore gets purged upon restarting the instance.
Results will be stored with their TestId property set to the value of pResultsId if a nonzero, non-null value is provided, or call the GetNewTestId() method of pResultsClass to generate a new one.
If pTracking is true, progress information will be written to ^IRIS.Temp.PMML.BgrTask($job), so this method can be run in the background.
Runs a PMML model against the <ModelVerification> records included in the PMML model
definition.
Use pResultsClass to define the class (subclass of <class>DeepSee.PMML.Utils.Result</class>) the results of this batch run will be written to. This defaults to <class>DeepSee.PMML.Utils.TempResult</class>, which stores its data in the Temp database and therefore gets purged upon restarting the instance.
Results will be stored with their TestId property set to the value of pResultsId if a nonzero, non-null value is provided, or call the GetNewTestId() method of pResultsClass to generate a new one.
If pTracking is true, progress information will be written to ^IRIS.Temp.PMML.BgrTask($job), so this method can be run in the background.
Runs a PMML model against all records returned by a user-supplied ResultSet object, looping
through all rows and checking the model outcome against the actual value found in the query result. pFieldMap is expected to contain a mapping from this model's <class>DeepSee.PMML.Data</class> class to the columns (by name) in the supplied result set. If no field map is specified, the resultset is expected to contain columns with names corresponding to the models data fields.
Use pResultsClass to define the class (subclass of <class>DeepSee.PMML.Utils.Result</class>) the results of this batch run will be written to. This defaults to <class>DeepSee.PMML.Utils.TempResult</class>, which stores its data in the Temp database and therefore gets purged upon restarting the instance.
Results will be stored with their TestId property set to the value of pResultsId if a nonzero, non-null value is provided, or call the GetNewTestId() method of pResultsClass to generate a new one.
If pTracking is true, progress information will be written to ^IRIS.Temp.PMML.BgrTask($job), so this method can be run in the background.
Runs a PMML model against all records returned by a user-supplied SQL query, looping through
the rows and checking the model outcome against the actual value found in the query result. pFieldMap is expected to contain a mapping from this model's <class>DeepSee.PMML.Data</class> class to the columns (by name) in the supplied result set. If no field map is specified, the resultset is expected to contain columns with names corresponding to the models data fields.
Use pResultsClass to define the class (subclass of <class>DeepSee.PMML.Utils.Result</class>) the results of this batch run will be written to. This defaults to <class>DeepSee.PMML.Utils.TempResult</class>, which stores its data in the Temp database and therefore gets purged upon restarting the instance.
Results will be stored with their TestId property set to the value of pResultsId if a nonzero, non-null value is provided, or call the GetNewTestId() method of pResultsClass to generate a new one.
If pTracking is true, progress information will be written to ^IRIS.Temp.PMML.BgrTask($job), so this method can be run in the background.