edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter Class Reference

Inheritance diagram for edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addOutputValue (String outputValue)
double getExampleValue (int bin)
double[] getIntervals (int bin)
String[] getOutputValues ()
String getValueForContinuous (double continuous)

Protected Attributes

Clusterer clusterer
String[] outputValues

Package Functions

public< C extends Clusterer > ClustererDiscretizationFilter (C clusterer, ClusterNamer<?super C > namer) throws Exception

Detailed Description

An instance of the class ClustererDiscretizationFilter represents a discretization filter based on a clusterer.

Definition at line 14 of file ClustererDiscretizationFilter.java.


Constructor & Destructor Documentation

public<C extends Clusterer> edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::ClustererDiscretizationFilter ( clusterer,
ClusterNamer<?super C >  namer 
) throws Exception [inline, package]

Constructs an instance for the specified clusterer and cluster namer.

Parameters:
<C> 
clusterer 
namer 
Exceptions:
Exception 

Definition at line 32 of file ClustererDiscretizationFilter.java.


Member Function Documentation

void edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::addOutputValue ( String  outputValue  )  [inline]

Add output values for the discretization filter. This should add e.g. split points parsed from the outputValue to recreate the domain from the output Values.

Parameters:
outputValue the outputValue to add.

Implements edu::tum::cs::bayesnets::core::DiscretizationFilter.

Definition at line 62 of file ClustererDiscretizationFilter.java.

double edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::getExampleValue ( int  bin  )  [inline]

Return an example value in the specified discretization bin.

Parameters:
bin the discretization bin.
Returns:
an example value for the discretization bin.

Implements edu::tum::cs::bayesnets::core::DiscretizationFilter.

Definition at line 70 of file ClustererDiscretizationFilter.java.

double [] edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::getIntervals ( int  bin  )  [inline]

Get interval boundaries for the bin. The return value should be a list of 2n values containing the intervals of the bin.

Parameters:
bin the bin.
Returns:
the interval boundaries of the bin.

Implements edu::tum::cs::bayesnets::core::DiscretizationFilter.

Definition at line 77 of file ClustererDiscretizationFilter.java.

String [] edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::getOutputValues (  )  [inline]

Get the filter's possible String output values (the final domain).

Returns:
the possible output values.

Implements edu::tum::cs::bayesnets::core::DiscretizationFilter.

Definition at line 40 of file ClustererDiscretizationFilter.java.

String edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::getValueForContinuous ( double  continuous  )  [inline]

Get the output value for the given continuous value.

Parameters:
continuous the continuous value.
Returns:
the discretized output value

Implements edu::tum::cs::bayesnets::core::DiscretizationFilter.

Definition at line 47 of file ClustererDiscretizationFilter.java.


Member Data Documentation

The clusterer to use to generate the domain splits.

Definition at line 23 of file ClustererDiscretizationFilter.java.

The output values of the final domain.

Definition at line 19 of file ClustererDiscretizationFilter.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:36 2013