IRISLIB database
Dataset Class Reference

A Dataset is a wrapper for a collection of records that can be analyzed, in order to build or run a model. More...

Inheritance diagram for Dataset:
Collaboration diagram for Dataset:

Public Member Functions

_.Library.Status Clear ()
 A Dataset is a wrapper for a collection of records that can be analyzed, in order to build or run a model. More...
 
_.Library.Status Get1DDistribution (_.Library.String pField, pDistribution, pFilters)
 Returns an array describing the distribution of values for a field pField (categorical) More...
 
_.Library.Status GetAggregatesByCategory (_.Library.String pContField, _.Library.String pCatField, pAggregates, pFilters)
 Returns an array listing aggregate values for a continuous field pContField for. More...
 
_.Library.Status GetRecordIds (pIds, pFilters)
 returns pIds(n) = rowid
 
_.Library.Integer GetValueCount (_.Library.String pField, _.Library.Boolean pIncludeNull, pFilters, _.Library.Status pSC)
 Returns the number of distinct values for pField (categorical)
 
_.Library.Status GetXDDistribution (_.Library.List pFields, pDistribution, pFilters)
 accepts More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 Fields
   More...
 
 IdField
   More...
 
 Name
   More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

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 in <package>DeepSee.PMML.Dataset</package>.

Member Function Documentation

◆ Clear()

_.Library.Status Clear ( )

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 in <package>DeepSee.PMML.Dataset</package>.

Clears all temporary structures created by this object.

The dataset should remain usable after calling this method!

Reimplemented in Table.

◆ Get1DDistribution()

_.Library.Status Get1DDistribution ( _.Library.String  pField,
  pDistribution,
  pFilters 
)

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)

Reimplemented in Table, Cube, and Bootstrap.

◆ GetAggregatesByCategory()

_.Library.Status GetAggregatesByCategory ( _.Library.String  pContField,
_.Library.String  pCatField,
  pAggregates,
  pFilters 
)

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)

Reimplemented in Table.

◆ GetXDDistribution()

_.Library.Status GetXDDistribution ( _.Library.List  pFields,
  pDistribution,
  pFilters 
)

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

Reimplemented in Table, Cube, and Bootstrap.

Member Data Documentation

◆ Fields

Fields

 

 

◆ IdField

IdField

 

 

◆ Name

Name