Documentation of 'jsat.datatransform.WhitenedZCA' Java class
WhitenedZCA
jsat.datatransform

Class WhitenedZCA

    • Constructor Detail

      • WhitenedZCA

        public WhitenedZCA()
        Creates a new WhitenedZCA transform that uses up to 50 dimensions for the transformed space. This may not be optimal for any given dataset.
        Parameters:
        dims - the number of dimensions to project down to
      • WhitenedZCA

        public WhitenedZCA(int dims)
        Creates a new WhitenedZCA transform
        Parameters:
        dims - the number of dimensions to project down to
      • WhitenedZCA

        public WhitenedZCA(double regularization,
                           int dims)
        Creates a new WhitenedZCA transform
        Parameters:
        regularization - the amount of regularization to add, avoids numerical instability
        dims - the number of dimensions to project down to
      • WhitenedZCA

        public WhitenedZCA(DataSet dataSet,
                           double regularization)
        Creates a new Whitened ZCA transform from the given data.
        Parameters:
        dataSet - the data set to whiten
        regularization - the amount of regularization to add, avoids numerical instability
      • WhitenedZCA

        public WhitenedZCA(DataSet dataSet)
        Creates a new Whitened ZCA transform from the given data. The regularization parameter will be chosen as the log of the condition of the covariance.
        Parameters:
        dataSet - the data set to whiten
    • Method Detail

      • fit

        public void fit(DataSet dataSet)
        Description copied from interface: DataTransform
        Fits this transform to the given dataset. Some transforms can only be learned from classification or regression datasets. If an incompatible dataset type is given, a FailedToFitException exception may be thrown.
        Specified by:
        fit in interface DataTransform
        Overrides:
        fit in class WhitenedPCA
        Parameters:
        dataSet - the dataset to fir this transform to
      • mutatesNominal

        public boolean mutatesNominal()
        Description copied from interface: InPlaceTransform
        By default returns false. Only returns true if this transform will mutableTransform the nominal feature values of a data point.
        Specified by:
        mutatesNominal in interface InPlaceTransform
        Returns:
        true if nominal feature values are mutated, false otherwise.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.