Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataSources.TimestampInternalTableManager Interface Reference

Inheritance diagram for kddml.Core.DataSources.TimestampInternalTableManager:

kddml.Core.DataSources.TransactionalInternalTableManager kddml.Core.DataSources.InternalTableManager kddml.Core.DataSources.TimestampInternalTable List of all members.

Public Member Functions

DataSequenceManager loadNextDataSequence () throws InternalTableException
DataSequenceManager loadNextFeaturedDataSequence () throws InternalTableException
Enumeration getInitedFeatures ()
void initAllFeatures () throws KDDMLCoreException
void initNumericFeatures () throws KDDMLCoreException
void initFeatures (String[] names, int feature_type) throws KDDMLCoreException
boolean hasNextDataSequence ()
int getTimestampPosition ()

Static Public Attributes

static final int ALL_FEATURES = 0
static final int NUMERIC_FEATURES = 1
static final int STRING_FEATURES = 2

Detailed Description

This class is used to represent a table in a timestamp format. Timestamp format is similar to a transactional table, but with an extra attribute timestamp. This attribute defines a partial time order between transactions and items. Typically, this format is used for sequential patterns analysis.

A timestamp table contains at least three fields:

  1. the identifier of transaction (field transaction)
  2. the identifier of timestamp (field timestamp)
  3. the item value (field event)

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Daniele Cerra (daniele@cerra.info)
Version:
2.0.0 alfa


Member Function Documentation

DataSequenceManager kddml.Core.DataSources.TimestampInternalTableManager.loadNextDataSequence  )  throws InternalTableException
 

Returns the next data sequence of the timestamp table.

Exceptions:
InternalTableException 
Returns:
a data sequence

Implemented in kddml.Core.DataSources.TimestampInternalTable.

DataSequenceManager kddml.Core.DataSources.TimestampInternalTableManager.loadNextFeaturedDataSequence  )  throws InternalTableException
 

Returns the next data-sequence of the timestamp table, including optional attributes as item features.

Before calling this method, some of iniFeatures() may be called, otherwise this method return the same result of loadNextDataSequence().

If no optional attribute are present in input table, objects returned by this method are identically to those returned by loadNextDataSequence().

Exceptions:
InternalTableException 
Returns:
a data sequence

Implemented in kddml.Core.DataSources.TimestampInternalTable.

Enumeration kddml.Core.DataSources.TimestampInternalTableManager.getInitedFeatures  ) 
 

Return an enumeration of inited features, i.e. the attribute(s) that must be loaded as item features. Each feature is returned as Weka Attribute object "as is" in table schema.

Returns:
inited features

Implemented in kddml.Core.DataSources.TimestampInternalTable.

void kddml.Core.DataSources.TimestampInternalTableManager.initAllFeatures  )  throws KDDMLCoreException
 

Specify to load all optional attributes from input table.

Exceptions:
KDDMLCoreException 

Implemented in kddml.Core.DataSources.TimestampInternalTable.

void kddml.Core.DataSources.TimestampInternalTableManager.initNumericFeatures  )  throws KDDMLCoreException
 

Affect optional attributes that will be included as item feature; only numeric optional attributes are included.

Exceptions:
KDDMLCoreException 

Implemented in kddml.Core.DataSources.TimestampInternalTable.

void kddml.Core.DataSources.TimestampInternalTableManager.initFeatures String[]  names,
int  feature_type
throws KDDMLCoreException
 

Specify wich optional attributes must be loaded as item features. If "names" is null, then all optional attributes are added, else only attributes in "names" are added. "feature_type" allow to filter attributes by their type (e.g. ALL_FEATURES, NUMERIC_FEATURES, STRING_FEATURES). Note that this method do not raise any exception if no features are recognized. To check which features are processed to be loaded, must use the getInitedFeatures() method.

Parameters:
names name of attributes to be added, or null for all attributes
feature_type type of attributes to be added
Exceptions:
KDDMLCoreException if an invalid feature type is given, or one of loadeNextDataSequence() method was already called

Implemented in kddml.Core.DataSources.TimestampInternalTable.

boolean kddml.Core.DataSources.TimestampInternalTableManager.hasNextDataSequence  ) 
 

Returns true if the timestamp table has more data sequences.

Returns:
true if there are more transactions

Implemented in kddml.Core.DataSources.TimestampInternalTable.

int kddml.Core.DataSources.TimestampInternalTableManager.getTimestampPosition  ) 
 

Returns the timestamp field position in the data schema.

Returns:
timestamp position

Implemented in kddml.Core.DataSources.TimestampInternalTable.


Member Data Documentation

final int kddml.Core.DataSources.TimestampInternalTableManager.ALL_FEATURES = 0 [static]
 

Load all optional attributes in table as item features

final int kddml.Core.DataSources.TimestampInternalTableManager.NUMERIC_FEATURES = 1 [static]
 

Load all numeric attributes in table as item features

final int kddml.Core.DataSources.TimestampInternalTableManager.STRING_FEATURES = 2 [static]
 

Load all non numeric attributes in table as item features


Generated on Thu Feb 23 13:04:44 2006 for kddml by  doxygen 1.4.3