public class CachedEstimator extends Object implements DensityEstimator, Serializable, weka.core.OptionHandler
| Constructor and Description |
|---|
CachedEstimator() |
| 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
|
String |
densEstimTipText() |
double |
getCDF(double x)
Gets Cumulative Density Function for given x
|
DensityEstimator |
getDensEstim() |
String[] |
getOptions() |
double |
getPDF(double x)
Gets Probability Density Function for given x
|
double[] |
getValues()
Get values added to the estimator
|
double[] |
getWeights()
Get weights of the stored values/samples
|
Enumeration<weka.core.Option> |
listOptions() |
void |
setDensEstim(DensityEstimator densEstim) |
void |
setOptions(String[] options) |
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 void addValues(double[] data,
double[] weight)
DensityEstimatoraddValues in interface DensityEstimatorpublic double[] getValues()
DensityEstimatorgetValues in interface DensityEstimatorpublic double[] getWeights()
DensityEstimatorgetWeights in interface DensityEstimatorpublic DensityEstimator getDensEstim()
public void setDensEstim(DensityEstimator densEstim)
densEstim - the densEstim to setpublic String densEstimTipText()
public 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.OptionHandlerCopyright © 2020. All rights reserved.