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 |
An instance of the class ClustererDiscretizationFilter
represents a discretization filter based on a clusterer.
Definition at line 14 of file ClustererDiscretizationFilter.java.
public<C extends Clusterer> edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::ClustererDiscretizationFilter | ( | C | clusterer, | |
ClusterNamer<?super C > | namer | |||
) | throws Exception [inline, package] |
Constructs an instance for the specified clusterer and cluster namer.
<C> | ||
clusterer | ||
namer |
Exception |
Definition at line 32 of file ClustererDiscretizationFilter.java.
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.
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.
bin | 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.
bin | 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).
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.
continuous | the continuous value. |
Implements edu::tum::cs::bayesnets::core::DiscretizationFilter.
Definition at line 47 of file ClustererDiscretizationFilter.java.
Clusterer edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::clusterer [protected] |
The clusterer to use to generate the domain splits.
Definition at line 23 of file ClustererDiscretizationFilter.java.
String [] edu::tum::cs::bayesnets::core::ClustererDiscretizationFilter::outputValues [protected] |
The output values of the final domain.
Definition at line 19 of file ClustererDiscretizationFilter.java.