Class GIFExitConditionAverageKernelValue¶
Defined in File GIFExitCondition.h
Inheritance Relationships¶
Base Type¶
public genif::GIFExitCondition
(Class GIFExitCondition)
Class Documentation¶
-
class
genif
::
GIFExitConditionAverageKernelValue
: public genif::GIFExitCondition¶ Public Functions
-
GIFExitConditionAverageKernelValue
(const GIFExitConditionAverageKernelValue&) = delete¶
-
GIFExitConditionAverageKernelValue &
operator=
(const GIFExitConditionAverageKernelValue&) = delete¶
-
GIFExitConditionAverageKernelValue
(const std::string &kernelId, const VectorX &kernelScaling, data_t sigma)¶ Initializes an exit condition-decider using average kernel values in a specific data subregion.
- Parameters
kernelId
: Name of the kernel to use (possible value: rbf, matern-d1, matern-d3, matern-d5).kernelScaling
: Vector of scaling values for the kernel to be used (scalar for RBF, d-dimensional vector for Matern kernels - d being the number of dimensions of the input vectors).sigma
: Average kernel value, which should be exceeded for the exit condition to apply.
-
bool
shouldExitRecursion
(const Tree &node) const override¶ Tests, whether a node should be subject to another recursion step.
Instances of GIFExitConditionAverageKernelValue, check, whether the average kernel function value of the vectors w.r.t to the representative in the node is greater than the specified sigma value and will only return true when this condition has been met.
-
~GIFExitConditionAverageKernelValue
()¶ Destructor.
-