Enum Class Rcit.FeatureType

java.lang.Object
java.lang.Enum<Rcit.FeatureType>
edu.cmu.tetrad.search.test.Rcit.FeatureType
All Implemented Interfaces:
Serializable, Comparable<Rcit.FeatureType>, Constable
Enclosing class:
Rcit

public static enum Rcit.FeatureType extends Enum<Rcit.FeatureType>
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 Constants
    Enum Constant
    Description
    Represents 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RFF

      public static final Rcit.FeatureType 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

      public static final Rcit.FeatureType 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

      public static Rcit.FeatureType[] 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

      public static Rcit.FeatureType valueOf(String name)
      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 name
      NullPointerException - if the argument is null