Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager Interface Reference

Inheritance diagram for kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager:

kddml.Core.DataMining.Clustering.StatisticFieldManager kddml.Core.DataMining.Clustering.DiscreteStatisticField List of all members.

Public Member Functions

boolean addValue (String value, double frequency)
double getProbability (String value) throws ClusteringModelException
double[] getProbability () throws ClusteringModelException
String getProbableValue () throws ClusteringModelException
String[] getCategories ()
double[] getFrequencies ()

Detailed Description

A manager interface for a DiscreteStatisticField.

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

boolean kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager.addValue String  value,
double  frequency
 

Adds a new category with cluster frequency. Return true if the category is added to the field. Returns false if the field already contain the category name.

Parameters:
value String the field category value.
frequency double the cluster frequency. Do not include missing values.
Returns:
boolean

Implemented in kddml.Core.DataMining.Clustering.DiscreteStatisticField.

double kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager.getProbability String  value  )  throws ClusteringModelException
 

Returns the probability value for the input category.

Parameters:
value String the input category.
Exceptions:
ClusteringModelException if the category is not found.
Returns:
double a value between 0 and 1.

Implemented in kddml.Core.DataMining.Clustering.DiscreteStatisticField.

double [] kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager.getProbability  )  throws ClusteringModelException
 

Returns the distribution probability of all categories. Ordering of the output object respects the ordering of the method getCategories().

Exceptions:
ClusteringModelException 
Returns:
double[] a normalization vector.

Implemented in kddml.Core.DataMining.Clustering.DiscreteStatisticField.

String kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager.getProbableValue  )  throws ClusteringModelException
 

Returns the must probable category value.

Exceptions:
ClusteringModelException 
Returns:
String

Implemented in kddml.Core.DataMining.Clustering.DiscreteStatisticField.

String [] kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager.getCategories  ) 
 

Returns the categories of this field. Ordering of the output object respects the ordering of the method getProbability().

Returns:
String[]

Implemented in kddml.Core.DataMining.Clustering.DiscreteStatisticField.

double [] kddml.Core.DataMining.Clustering.DiscreteStatisticFieldManager.getFrequencies  ) 
 

Returns the frequency of all categories. Missing value are not included. Ordering of the output object respects the ordering of the method getCategories().

Exceptions:
ClusteringModelException 
Returns:
double[]

Implemented in kddml.Core.DataMining.Clustering.DiscreteStatisticField.


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