Package edu.cmu.tetrad.search.utils
Interface Kernel
- All Known Implementing Classes:
KernelGaussian
public interface Kernel
Gives an implemented that is implemented by classes that evaluate scalar valued kernels
- Version:
- $Id: $Id
- Author:
- Robert Tillman
-
Method Summary
Modifier and TypeMethodDescriptiondouble
eval
(double i, double j) Evaluates the kernel at two points in the input spacedouble
Gets kernel bandwidthvoid
setDefaultBw
(DataSet dataset, Node node) Sets bandwidth from data using default method
-
Method Details
-
eval
double eval(double i, double j) Evaluates the kernel at two points in the input space- Parameters:
i
- a doublej
- a double- Returns:
- a double
-
setDefaultBw
-
getBandwidth
double getBandwidth()Gets kernel bandwidth- Returns:
- a double
-