|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.distribution.ContinuousDistribution
com.rapidminer.tools.math.distribution.kernel.KernelDistribution
com.rapidminer.tools.math.distribution.kernel.GreedyKernelDistribution
public class GreedyKernelDistribution
An updatable estimated kernel density distribution. Update strategy greedily creates and merges kernels and assigns value to these kernels.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from class com.rapidminer.tools.math.distribution.kernel.KernelDistribution |
|---|
DEFAULT_BANDWIDTH |
| Constructor Summary | |
|---|---|
GreedyKernelDistribution()
|
|
GreedyKernelDistribution(double minBandwidth,
int numberOfKernels)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAttributeName()
|
double |
getLowerBound()
This method returns a lower bound of values. |
int |
getNumberOfParameters()
This should return the number of parameters defining this distribution |
java.lang.String |
getParameterName(int index)
This method should return the name of the i-th parameter |
double |
getParameterValue(int index)
This method should return the value of the i-th parameter |
double |
getProbability(double value)
This method returns the density of the given distribution at the specified value. |
double |
getTotalWeight()
|
double |
getUpperBound()
This method returns an upper bound of possible values. |
java.lang.String |
toString()
Should return an textual representation of the distribution. |
void |
update(double value)
|
void |
update(double value,
double weight)
|
| Methods inherited from class com.rapidminer.tools.math.distribution.ContinuousDistribution |
|---|
isContinuous, isDiscrete, mapValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.tools.math.distribution.Distribution |
|---|
isContinuous, isDiscrete, mapValue |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public GreedyKernelDistribution()
public GreedyKernelDistribution(double minBandwidth,
int numberOfKernels)
| Method Detail |
|---|
public void update(double value,
double weight)
public void update(double value)
public java.lang.String getAttributeName()
getAttributeName in interface DistributiongetAttributeName in class KernelDistributionpublic int getNumberOfParameters()
Distribution
getNumberOfParameters in interface DistributiongetNumberOfParameters in class KernelDistributionpublic java.lang.String getParameterName(int index)
Distribution
getParameterName in interface DistributiongetParameterName in class KernelDistributionpublic double getParameterValue(int index)
Distribution
getParameterValue in interface DistributiongetParameterValue in class KernelDistributionpublic double getUpperBound()
ContinuousDistribution
getUpperBound in class ContinuousDistributionpublic double getLowerBound()
ContinuousDistribution
getLowerBound in class ContinuousDistributionpublic double getTotalWeight()
public double getProbability(double value)
Distribution
getProbability in interface DistributiongetProbability in class ContinuousDistributionvalue - the value which density shall be returnedpublic java.lang.String toString()
Distribution
toString in interface DistributiontoString in class KernelDistribution
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||