public class BoundedEstimator extends Object implements DensityEstimator, Serializable, weka.core.OptionHandler
| Constructor and Description |
|---|
BoundedEstimator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(double data,
double weight) |
void |
addValues(double[] data,
double[] weight)
Adds a set ov values into the estimator
|
double |
getCDF(double x)
Gets Cumulative Density Function for given x
|
DensityEstimator |
getKernEstim() |
double |
getLowerBound() |
String[] |
getOptions() |
double |
getPDF(double x)
Gets Probability Density Function for given x
|
double |
getUpperBound() |
double[] |
getValues()
Get values added to the estimator
|
double[] |
getWeights()
Get weights of the stored values/samples
|
String |
kernEstimTipText() |
Enumeration<weka.core.Option> |
listOptions() |
String |
lowerBoundTipText() |
void |
setKernEstim(DensityEstimator densityEstimator) |
void |
setLowerBound(double lowerBound) |
void |
setOptions(String[] options) |
void |
setUpperBound(double upperBound) |
String |
toString() |
String |
upperBoundTipText() |
public void addValue(double data,
double weight)
addValue in interface weka.estimators.IncrementalEstimatorpublic double getPDF(double x)
DensityEstimatorgetPDF in interface DensityEstimatorpublic double getCDF(double x)
DensityEstimatorgetCDF in interface DensityEstimatorpublic Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandlerExceptionpublic String[] getOptions()
getOptions in interface weka.core.OptionHandlerpublic String kernEstimTipText()
public DensityEstimator getKernEstim()
public void setKernEstim(DensityEstimator densityEstimator)
densityEstimator - the kernEstim to setpublic String lowerBoundTipText()
public double getLowerBound()
public void setLowerBound(double lowerBound)
lowerBound - the lowerBound to setpublic String upperBoundTipText()
public double getUpperBound()
public void setUpperBound(double upperBound)
upperBound - the upperBound to setpublic void addValues(double[] data,
double[] weight)
DensityEstimatoraddValues in interface DensityEstimatorpublic double[] getValues()
DensityEstimatorgetValues in interface DensityEstimatorpublic double[] getWeights()
DensityEstimatorgetWeights in interface DensityEstimatorCopyright © 2020. All rights reserved.