Enum Class Rcit.FeatureType
- All Implemented Interfaces:
Serializable, Comparable<Rcit.FeatureType>, Constable
- Enclosing class:
Rcit
An enumeration representing the types of features that can be used for
generating random feature mappings for RBF kernels. The different feature
types are:
- RFF (Random Fourier Features): A method to approximate shift-invariant
kernel functions like the RBF kernel using random projections based on
Fourier transforms.
- ORF (Orthogonal Random Features): A variant of RFF that incorporates
orthogonality constraints to potentially improve approximation quality.
This enumeration is used to configure the feature mapping strategy for
algorithms that rely on such kernel approximations.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the Orthogonal Random Features (ORF) method for approximating shift-invariant kernel functions, such as the Radial Basis Function (RBF) kernel.Represents the Random Fourier Features (RFF) method for approximating shift-invariant kernel functions such as the Radial Basis Function (RBF) kernel. -
Method Summary
Modifier and TypeMethodDescriptionstatic Rcit.FeatureTypeReturns the enum constant of this class with the specified name.static Rcit.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) method for approximating shift-invariant kernel functions such as the Radial Basis Function (RBF) kernel. RFF generates random feature mappings based on Fourier transforms to enable efficient computation of kernel-based algorithms in high-dimensional spaces. It allows for scalable and efficient approximation of non-linear kernels. -
ORF
Represents the Orthogonal Random Features (ORF) method for approximating shift-invariant kernel functions, such as the Radial Basis Function (RBF) kernel. ORF extends the Random Fourier Features (RFF) approach by incorporating orthogonality constraints on the generated random features. This can potentially improve the quality of kernel approximation, leading to better performance in kernel-based machine learning algorithms.
-
-
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
-