Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataSources.DataStatistics Class Reference

Inheritance diagram for kddml.Core.DataSources.DataStatistics:

kddml.Core.DataSources.DataStatisticsManager List of all members.

Public Member Functions

Instances toInstances ()
int getNumInstances ()
int getNumAttributes ()
AttributeStatisticManager[] getStatistics ()
AttributeStatisticManager getStatistic (String attribute_name)
int getAttributeIndex (String attribute_name)
String toString ()
String getRelationName ()
int getNumberOfNumericAttributes ()
int getNumberOfNominalAttributes ()
int getNumberOfStringAttributes ()

Detailed Description

This class for statistics provides a basic framework for representing univariate statistics. The statistics for a model is made of the collection of the statistics for single fields.
The statistics depends on type of attributes:
  1. mean, variance, min, max for numerical attributes;
  2. cardinality of each value for nominal attributes.

This class cannot be istantied outside of the package.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

Instances kddml.Core.DataSources.DataStatistics.toInstances  ) 
 

Returns a representation of this statistics as weka.core.Instances.

Returns:
Instances

int kddml.Core.DataSources.DataStatistics.getNumInstances  ) 
 

Returns the number of instances.

Returns:
int

Implements kddml.Core.DataSources.DataStatisticsManager.

int kddml.Core.DataSources.DataStatistics.getNumAttributes  ) 
 

Returns the number of attributes.

Returns:
int

Implements kddml.Core.DataSources.DataStatisticsManager.

AttributeStatisticManager [] kddml.Core.DataSources.DataStatistics.getStatistics  ) 
 

Returns the attributes statistic.

Returns:
AttributeStatistic[] a vector of attribute statistic.

Implements kddml.Core.DataSources.DataStatisticsManager.

AttributeStatisticManager kddml.Core.DataSources.DataStatistics.getStatistic String  attribute_name  ) 
 

Returns the statistics of a given attribute. Returns null if the attribute do not exist.

Parameters:
attribute_name String the attribute name.
Returns:
AttributeStatistic

Implements kddml.Core.DataSources.DataStatisticsManager.

int kddml.Core.DataSources.DataStatistics.getAttributeIndex String  attribute_name  ) 
 

Returns the attribute index. Returns -1 if the attribute do not exist.

Parameters:
attribute_name String the attribute name.
Returns:
int

Implements kddml.Core.DataSources.DataStatisticsManager.

String kddml.Core.DataSources.DataStatistics.toString  ) 
 

Returns a representation of this object as string.

Returns:
String

String kddml.Core.DataSources.DataStatistics.getRelationName  ) 
 

Returns the logical relation name.

Returns:
String

Implements kddml.Core.DataSources.DataStatisticsManager.

int kddml.Core.DataSources.DataStatistics.getNumberOfNumericAttributes  ) 
 

Returns the number of numerical attributes.

Returns:
int

Implements kddml.Core.DataSources.DataStatisticsManager.

int kddml.Core.DataSources.DataStatistics.getNumberOfNominalAttributes  ) 
 

Returns the number of nominal attributes.

Returns:
int

Implements kddml.Core.DataSources.DataStatisticsManager.

int kddml.Core.DataSources.DataStatistics.getNumberOfStringAttributes  ) 
 

Returns the number of string attributes.

Returns:
int

Implements kddml.Core.DataSources.DataStatisticsManager.


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