%DeepSee.PMML.Dataset
abstract class %DeepSee.PMML.Dataset extends %Library.RegisteredObject
A Dataset is a wrapper for a collection of records that can be analyzed, in order to build or run a model. Implementations abstracting different sources of data can be found inProperty Inventory
Method Inventory
- Clear()
- Get1DDistribution()
- GetAggregatesByCategory()
- GetFieldBySpec()
- GetRecordIds()
- GetValueCount()
- GetXDDistribution()
- HasField()
Properties
property Fields as array of %DeepSee.PMML.Dataset.Field;
Property methods: FieldsBuildValueArray(), FieldsCollectionToDisplay(), FieldsCollectionToOdbc(), FieldsDisplayToCollection(), FieldsGet(), FieldsGetObject(), FieldsGetObjectId(), FieldsGetSwizzled(), FieldsIsValid(), FieldsOdbcToCollection(), FieldsSet(), FieldsSetObject(), FieldsSetObjectId()
property IdField as %DeepSee.PMML.Dataset.Field;
Property methods: IdFieldGet(), IdFieldGetObject(), IdFieldGetObjectId(), IdFieldGetSwizzled(), IdFieldIsEmpty(), IdFieldIsValid(), IdFieldNewObject(), IdFieldSet(), IdFieldSetObject(), IdFieldSetObjectId(), IdFieldUnSwizzle()
property Name as %String (MAXLEN = 200);
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
Methods
method Clear() as %Status
Clears all temporary structures created by this object.
The dataset should remain usable after calling this method!
abstract method Get1DDistribution(pField As %String, Output pDistribution, ByRef pFilters) as %Status
Returns an array describing the distribution of values for a field pField (categorical)
accepts
pFilters(n) = $lb(field, operator, key)
returns:
pDistribution("total") = tTotalCount
pDistribution(n) = $lb(value, count)
abstract method GetAggregatesByCategory(pContField As %String, pCatField As %String, Output pAggregates, ByRef pFilters) as %Status
Returns an array listing aggregate values for a continuous field pContField for
each value of a categorical field pCatField.
accepts
pFilters(n) = $lb(field, operator, key)
returns:
pAggregates("total") = tTotalCount
pAggregates(n) = $lb(category value, count, average, sum, max, min, countNonNull)
method GetFieldBySpec(pFieldSpec As %String) as %DeepSee.PMML.Dataset.Field
abstract method GetRecordIds(Output pIds, ByRef pFilters) as %Status
returns pIds(n) = rowid
abstract method GetValueCount(pField As %String, pIncludeNull As %Boolean = 1, ByRef pFilters, Output pSC As %Status) as %Integer
Returns the number of distinct values for pField (categorical)
abstract method GetXDDistribution(pFields As %List, Output pDistribution, ByRef pFilters) as %Status
accepts
pFilters(n) = $lb(field, operator, key)
returns:
pDistribution = $lb(dim1Count, dim2Count, ...)
pDistribution("value", dim, i) = value
pDistribution(i, j, ...) = tCount
pDistribution("total", dim, i) = tDimTotal
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()