(self, X)
Transform X into the existing embedded space and return that
        transformed output.
        Parameters
        ----------
        X : array, shape (n_samples, n_features)
            New data to be transformed.
        Returns
        -------
        X_new : array, shape (n_samples, n_components)
            Embedding of the new data in low-dimensional space.
Transform X into the existing embedded space and return that
        transformed output.
        Parameters
        ----------
        X : array, shape (n_samples, n_features)
            New data to be transformed.
        Returns
        -------
        X_new : array, shape (n_samples, n_components)
            Embedding of the new data in low-dimensional space.
Transform X into the existing embedded space and return that transformed output . Parameters ---------- X : array shape ( n_samples n_features ) New data to be transformed . Returns ------- X_new : array shape ( n_samples n_components ) Embedding of the new data in low - dimensional space .
def transform(self, X):
        """Transform X into the existing embedded space and return that
        transformed output.
        Parameters
        ----------
        X : array, shape (n_samples, n_features)
            New data to be transformed.
        Returns
        -------
        X_new : array, shape (n_samples, n_components)
            Embedding of the new data in low-dimensional space.
        """
        if self.parametric_embedding:
            return self.encoder.predict(
                np.asanyarray(X), batch_size=self.batch_size, verbose=self.verbose
            )
        else:
            warn(
                "Embedding new data is not supported by ParametricUMAP. \
                Using original embedder."
            )
            return super().transform(X)
def transform ( self , X ) : if self . parametric_embedding : return self . encoder . predict ( np . asanyarray ( X ) , batch_size = self . batch_size , verbose = self . verbose ) else : warn ( "Embedding new data is not supported by ParametricUMAP. \
                Using original embedder." ) return super ( ) . transform ( X )