Enum Class FfCiContinuous.FeatureType
- All Implemented Interfaces:
Serializable, Comparable<FfCiContinuous.FeatureType>, Constable
- Enclosing class:
FfCiContinuous
Enum representing the feature generation methods for random Fourier features (RFF) and orthogonal random features
(ORF).
The feature type determines how random projections are designed for approximating the RBF kernel.
- Author:
- Joseph Ramsey
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FfCiContinuous.FeatureTypeReturns the enum constant of this class with the specified name.static FfCiContinuous.FeatureType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RFF
Represents the Random Fourier Features (RFF) feature generation method.RFF is a technique used to approximate the Radial Basis Function (RBF) kernel by applying random projections. This method provides an efficient way to compute kernel features for large-scale machine learning tasks.
-
ORF
Represents the Orthogonal Random Features (ORF) feature generation method.ORF is a technique used to approximate the Radial Basis Function (RBF) kernel by applying random projections with orthogonality constraints. This method ensures more structured and efficient projections, improving the quality of the kernel approximation while maintaining computational efficiency.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-