%DeepSee.PlugIn.PMML
class %DeepSee.PlugIn.PMML extends %DeepSee.KPIPlugIn
This PlugIn implementation executes a predictive model defined in a %DeepSee.PMML.Definition
class for every fact in the cell for which the plugin is calculated, and aggregates the predictions.
By default, the plugin returns a PredictedValue property containing the aggregated
prediction. Additional properties (not listed in
Note: The plugin expects an <X-DeepSeeDataSource> extension element mapping the DeepSee fact to the PMML's data fields in order to be able to execute the model.
Filters (configurable):
- %cube: The cube this KPI is executed on
- aggregate (default = "average"): How to aggregate the predicted values over different facts.
Available values are sum, average, max, min, maxFreqValue, maxProbValue, minFreqValue and minProbValue. - PMML: Full class name of the %DeepSee.PMML.Definition containing the model to be executed.
- ModelName: Name of the model in the class specified through PMML that needs to be executed. If left blank, the first model in the PMML definition will be executed.
- NullValues (default = "ignore"): Whether or not to include null predictions when aggregating results. Available values are ignore and count.
Method Inventory
Parameters
parameter BASECUBE = *;
Inherited description: Cube that this plug-in is based on.
This determines which cubes (or subject areas based on this cube) can see this plug-in.
This can be a comma-delimited list. The cube name(s) should not be enclosed with [].
parameter LISTINGFIELDS = ID;
Inherited description: If defined, this the field list (RETURN clause) of the listing used to supply data for this
plug-in.
parameter LISTINGSOURCE = FactTable;
Inherited description: Specifies the source of the listing data used by this plugin: "SourceTable" - the data source
supplies the listing values; "FactTable" - the fact table supplies the listing values.
parameter PLUGINTYPE = Aggregate;
Inherited description: Specifies the type of this plug-in. This indicates the context in which this plug-in is used.
"Pivot" -- the plug-in is visible within the Analyzer dimension tree.
"Aggregate" -- the plug-in is not visible within the Analyzer dimension tree.
"Pivot" -- the plug-in is visible within the Analyzer dimension tree.
"Aggregate" -- the plug-in is not visible within the Analyzer dimension tree.
Methods
method %OnCompute(pSQLRS As %SQL.StatementResult, pFactCount As %Integer) as %Status
Compute the median of values within the result set.
Get the base query for this plug-in.
Inherited Members
Inherited Properties
- %factCount
- %filterValues
- %fromCache
- %id
- %message
- %plugInListingKey
- %rangeLower
- %rangeUpper
- %seriesCount
- %seriesNames
- %source
- %sqlResultSet
- %thresholdLower
- %thresholdUpper
Inherited Methods
- %AddToSaveSet()
- %CheckResource()
- %ClassIsLatestVersion()
- %ClassName()
- %ClearKPICache()
- %ComputeKPICacheKey()
- %ComputeKPITimestamp()
- %ConstructClone()
- %CreateKPIController()
- %CreateModelInstance()
- %DeleteModel()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %Extends()
- %GetBaseCube()
- %GetFilterDisplayValue()
- %GetFilterKey()
- %GetFilterLogicalValue()
- %GetJSValidationCode()
- %GetKPICaption()
- %GetKPICaptionName()
- %GetKPIClassTimeStamp()
- %GetKPIName()
- %GetKPIPropertyCaption()
- %GetKPIValue()
- %GetKPIValueArray()
- %GetMDXContextFilter()
- %GetMDXForFilter()
- %GetMDXText()
- %GetMaxListingRows()
- %GetMembersForFilter()
- %GetParameter()
- %GetPlugInType()
- %GetPluginMDX()
- %GetPropertyInfo()
- %GetSQLForFilter()
- %GetSQLText()
- %GetSourceType()
- %InvokeAction()
- %IsA()
- %IsAsync()
- %IsCacheable()
- %IsModified()
- %IsPublic()
- %IsReadOnly()
- %LoadKPIFromCache()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnComputeKPITimestamp()
- %OnCopyDataFromModel()
- %OnCopyDataToModel()
- %OnDashboardAction()
- %OnDeleteModel()
- %OnDeleteSource()
- %OnExecute()
- %OnGetActionList()
- %OnGetAnalysisResultSet()
- %OnGetFilterList()
- %OnGetFilterMembers()
- %OnGetKPICaption()
- %OnGetKPIPropertyInfo()
- %OnGetListingFields()
- %OnGetListingMaxRows()
- %OnGetListingOrderBy()
- %OnGetListingResultSet()
- %OnGetListingSQL()
- %OnGetListingSource()
- %OnGetPropertyInfo()
- %OnGetSQL()
- %OnInvokeAction()
- %OnLoadKPI()
- %OnLoadKPIFromCache()
- %OnLoadModel()
- %OnNewSource()
- %OnOpenSource()
- %OnSaveKPIToCache()
- %OnSaveSource()
- %OnStoreModel()
- %OnSubmit()
- %OpenModel()
- %OriginalNamespace()
- %PackageName()
- %PrintValue()
- %RemoveFromSaveSet()
- %SaveKPIToCache()
- %SaveModel()
- %SerializeObject()
- %SetModified()
- %SetPercentComplete()
- %SubmitHandler()
- %TestKPICache()
- %ValidateKPICache()
- %ValidateObject()
- ConvertParameter()
- Decrypt()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RewriteURL()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()