jsat.regression
Class NadarayaWatson
- java.lang.Object
-
- jsat.regression.NadarayaWatson
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Parameterized, Regressor
public class NadarayaWatson extends java.lang.Object implements Regressor, Parameterized
The Nadaraya-Watson regressor uses theKernel Density Estimatorto perform regression on a data set.
Nadaraya-Watson can also be expressed as a classifier, and equivalent results can be obtained by combining a KDE withBestClassDistribution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NadarayaWatson(MultivariateKDE kde)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description NadarayaWatsonclone()doubleregress(DataPoint data)booleansupportsWeightedData()voidtrain(RegressionDataSet dataSet, boolean parallel)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsat.parameters.Parameterized
getParameter, getParameters
-
-
-
-
Constructor Detail
-
NadarayaWatson
public NadarayaWatson(MultivariateKDE kde)
-
-
Method Detail
-
train
public void train(RegressionDataSet dataSet, boolean parallel)
-
supportsWeightedData
public boolean supportsWeightedData()
- Specified by:
supportsWeightedDatain interfaceRegressor
-
clone
public NadarayaWatson clone()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG