public class NadarayaWatson extends Object implements Regressor, Parameterized
Kernel Density Estimator
to perform regression on a data set. BestClassDistribution
.Constructor and Description |
---|
NadarayaWatson(MultivariateKDE kde) |
Modifier and Type | Method and Description |
---|---|
NadarayaWatson |
clone() |
Parameter |
getParameter(String paramName)
Returns the parameter with the given name.
|
List<Parameter> |
getParameters()
Returns the list of parameters that can be altered for this learner.
|
double |
regress(DataPoint data) |
boolean |
supportsWeightedData() |
void |
train(RegressionDataSet dataSet) |
void |
train(RegressionDataSet dataSet,
ExecutorService threadPool) |
public NadarayaWatson(MultivariateKDE kde)
public void train(RegressionDataSet dataSet, ExecutorService threadPool)
public void train(RegressionDataSet dataSet)
public boolean supportsWeightedData()
supportsWeightedData
in interface Regressor
public NadarayaWatson clone()
public List<Parameter> getParameters()
Parameterized
getParameters
in interface Parameterized
public Parameter getParameter(String paramName)
Parameterized
getParameter
in interface Parameterized
paramName
- the name of the parameter to obtainCopyright © 2017. All rights reserved.