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

Interface DataTransform

    • Method Detail

      • transform

        DataPoint transform(DataPoint dp)
        Returns a new data point that is a transformation of the original data point. This new data point is a different object, but may contain the same references as the original data point. It is not guaranteed that you can mutate the transformed point without having a side effect on the original point.
        Parameters:
        dp - the data point to apply a transformation to
        Returns:
        a transformed data point
      • fit

        void fit(DataSet data)
        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.
        Parameters:
        data - the dataset to fir this transform to
        Throws:
        FailedToFitException - if the dataset type is not compatible with the transform

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.