Home > Class Reference > ENSLIB namespace > %iKnow.Classification.UI.ClassifierBuilder

%iKnow.Classification.UI.ClassifierBuilder

class %iKnow.Classification.UI.ClassifierBuilder extends %DeepSee.UI.standardPage

Property Inventory

Method Inventory

Parameters

parameter DOMAIN = %iKnow;
Inherited description: Set this to the correct domain.
parameter PAGENAME = Text Classifier Builder;
Inherited description: Name of this page.
parameter RESOURCE = %Development;
Inherited description: All Analytics pages require %DeepSee_Portal USE.

Properties

property definitionClass as %ZEN.Datatype.string (ZENURL = "CLASS");
Property methods: definitionClassDisplayToLogical(), definitionClassGet(), definitionClassIsValid(), definitionClassLogicalToDisplay(), definitionClassLogicalToOdbc(), definitionClassNormalize(), definitionClassSet()
property domain as %ZEN.Datatype.integer;
Property methods: domainDisplayToLogical(), domainGet(), domainIsValid(), domainLogicalToDisplay(), domainLogicalToOdbc(), domainNormalize(), domainSet()
property hideAdvanced as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Property methods: hideAdvancedDisplayToLogical(), hideAdvancedGet(), hideAdvancedIsValid(), hideAdvancedLogicalToDisplay(), hideAdvancedLogicalToOdbc(), hideAdvancedLogicalToXSD(), hideAdvancedNormalize(), hideAdvancedSet(), hideAdvancedXSDToLogical()
property optimizerTask as %ZEN.Datatype.integer [ InitialExpression = 1 ];
Property methods: optimizerTaskDisplayToLogical(), optimizerTaskGet(), optimizerTaskIsValid(), optimizerTaskLogicalToDisplay(), optimizerTaskLogicalToOdbc(), optimizerTaskNormalize(), optimizerTaskSet()
property pmml as %ZEN.Datatype.string);
Property methods: pmmlDisplayToLogical(), pmmlGet(), pmmlIsValid(), pmmlLogicalToDisplay(), pmmlLogicalToOdbc(), pmmlNormalize(), pmmlSet()
property trainingSet as %ZEN.Datatype.string;
Property methods: trainingSetDisplayToLogical(), trainingSetGet(), trainingSetIsValid(), trainingSetLogicalToDisplay(), trainingSetLogicalToOdbc(), trainingSetNormalize(), trainingSetSet()

Methods

Builds breadcrumb links
method %OnAfterCreatePage() as %Status [ Language = objectscript ]
Inherited description: Decorate the page.
classmethod %OnFinishBackgroundTask(pTaskID As %String) [ Language = objectscript ]
Inherited description: This server-side callback method is called whenever the client calls to monitor the current background task and the task is complete. Typically a subclass uses this to send back JavaScript to update the page.
method %OnGetPageName() as %String [ Language = objectscript ]
Returned value is used as leaf of breadcrumb
method %OnGetTitle() as %String [ Language = objectscript ]
Inherited description: Get the (localized) title string for the page. This should be implemented in a subclass.
classmethod %OnMonitorBackgroundTask(pTaskID As %String, pStatus As %String, pPercentComplete As %Float) [ Language = objectscript ]
Inherited description: This server-side callback method is called whenever the client calls to monitor the current background task. Typically a subclass uses this to send back JavaScript to update a progress bar.
classmethod %ShowBackgroundTaskOutput(pTaskID As %String) [ Language = objectscript ]
method DrawCheckbox(pSeed As %String) as %Status [ Language = objectscript ]
method DrawOptimizerTerms(pSeed As %String) as %Status [ Language = objectscript ]
method DrawSelectAllNone(pSeed As %String) as %Status [ Language = objectscript ]
method ExecuteResultSet(pRS As %Library.ResultSet, ByRef tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %Boolean [ Language = objectscript ]
method Export(pClassname As %String, pOverwrite As %Boolean) as %Status [ Language = objectscript, ZenMethod ]
method GenerateRuleSet() as %Status [ Language = objectscript, ZenMethod ]
method LoadDataSourceFields() as %Status [ Language = objectscript, ZenMethod ]
method OnChangeDomain(pDomainId As %Integer) as %Status [ Language = objectscript, ZenMethod ]
called when selNewDomain changes
method OnChangeFilter(pDomainId As %Integer, pField As %String, pSuffix As %String) as %Status [ Language = objectscript, ZenMethod ]
method OnDrawRibbon() as %Status [ Language = objectscript ]
Inherited description: This is called in the middle of rendering the tool ribbon. Subclasses can inject their own content into the ribbon by writing it out in this method. This content is best wrapped within a single td element. It can also consist of multiple td elements.

To achieve a fixed position for elements within the ribbon, for a fixed width page you can use a single enclosing td that contains a table and a single tr, with td elements inside that single tr that contain your content for the ribbon.

To achieve a fixed position for elements within the ribbon, for a page whose width varies depending on its contents (thereby stretching the ribbon) you can use multiple td elements to contain your content and then a final td element that is empty and has width 40% (or so) to push your contents towards the left and keep them in their proper locations.

method OnGetClassifierObject(ByRef Params, Output pObject As %RegisteredObject) as %Status [ Language = objectscript ]
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status [ Language = objectscript ]
Inherited description: This callback, if implemented returns information used to display the standard ribbon bar.
pDisplay is true if the ribbon should be displayed.
pViewIcons is an array describing "view" buttons to display: pViewIcons(n) = $LB(id,help,icon)
pSortOptions is an array describing "sort" options to display: pSortOptions(n) = $LB(id,caption,help)
pSearch is true if a search box is displayed.
pRibbonTitle is a title to display.
pCommands is an array of command buttons to display: pCommands(n) = $LB(id,caption,help,onclick)
method OnGetTree(pRoot As %String, Output pTree, ByRef pParms) as %Status [ Language = objectscript ]
method Optimize(pMetric As %String, pSteps As %Integer, pRemoveRatio As %Double) as %Status [ Language = objectscript, ZenMethod ]
method OptimizeLoadTerms(pMode As %String, pSpec As %String) as %Status [ Language = objectscript, ZenMethod ]
method PopulateTerms(pMetric As %String, pCount As %Integer) as %Status [ Language = objectscript, ZenMethod ]
method SetClassname(pClassname As %String) as %String [ Language = objectscript, ZenMethod ]
method SubmitClassifier(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As %RegisteredObject, Output pResponseObject As %RegisteredObject) as %Status [ Language = objectscript ]
method UpdateSQL(pSQL As %String) as %String [ Language = objectscript, ZenMethod ]
clientmethod add(string, type, individual) [ Language = javascript ]
clientmethod addElements(id, type, individual) [ Language = javascript ]
clientmethod changeDomain(domain) [ Language = javascript ]
clientmethod changeFilter(domain, field, suffix) [ Language = javascript ]
clientmethod changeFilterOperator(operator) [ Language = javascript ]
clientmethod clickTreeNode(tree) [ Language = javascript ]
clientmethod cmdBuild() [ Language = javascript ]
clientmethod cmdEditDataSource() [ Language = javascript ]
clientmethod cmdExport() [ Language = javascript ]
clientmethod cmdNew() [ Language = javascript ]
clientmethod cmdOpen() [ Language = javascript ]
clientmethod cmdOptimize() [ Language = javascript ]
clientmethod cmdSave() [ Language = javascript ]
clientmethod cmdTest() [ Language = javascript ]
clientmethod confirmLeave() [ Language = javascript ]
clientmethod createClassifier() [ Language = javascript ]
called when btnNewCreate is clicked
clientmethod dragTreeNode(tree, dragData) [ Language = javascript ]
clientmethod drawConnector(svg, fromNode, toNode) [ Language = javascript ]
clientmethod dropRule(ruleIndex) [ Language = javascript ]
clientmethod editFallback(ruleIndex) [ Language = javascript ]
clientmethod editPredicate(end) [ Language = javascript ]
clientmethod editPredicateAdd() [ Language = javascript ]
clientmethod editPredicateDrop() [ Language = javascript ]
clientmethod editRule(category, score=1, fallback=0) [ Language = javascript ]
clientmethod editTerm() [ Language = javascript ]
clientmethod explore(id, string) [ Language = javascript ]
clientmethod exploreDelayed(id, string) [ Language = javascript ]
clientmethod exploreNext(id, shift) [ Language = javascript ]
clientmethod exploreSQL(sql) [ Language = javascript ]
clientmethod exploreTop(metric) [ Language = javascript ]
clientmethod generateRuleNodes(svg, pred, level, x, predicateId) [ Language = javascript ]
clientmethod getPageTitle() as %String [ Language = javascript ]
Get the title string to add to the locator row. This should be implemented in a subclass.
clientmethod getPredicateForId(model, predId) [ Language = javascript ]
clientmethod getStringForTerm(model, termIndex) [ Language = javascript ]
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
Inherited description: Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is loaded.
clientmethod onunloadHandler() [ Language = javascript ]
Inherited description: Check if user really wants to exit if they have not saved changes
clientmethod refresh() [ Language = javascript ]
clientmethod removeTerm(termPos) [ Language = javascript ]
clientmethod renderRule(ruleIndex) [ Language = javascript ]
clientmethod saveAs(classname) [ Language = javascript ]
clientmethod selectAllTerms(type) [ Language = javascript ]
clientmethod selectNoTerms(type) [ Language = javascript ]
clientmethod selectPredicateType(predicate, type) [ Language = javascript ]
clientmethod showEditPredicate(predId, show) [ Language = javascript ]
clientmethod showEditRule(ruleIndex) [ Language = javascript ]
clientmethod showEditTerm() [ Language = javascript ]
clientmethod startOptimizer() [ Language = javascript ]
clientmethod toggleAdvancedMode(hide) [ Language = javascript ]
clientmethod toggleElement(id, value) [ Language = javascript ]
clientmethod updateBackgroundInfo(label, show) [ Language = javascript ]
clientmethod updateClassifier() [ Language = javascript ]
clientmethod updateMethod(method) [ Language = javascript ]
clientmethod updateModelProp(prop, value) [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods