#NEWLINE# def fit_transform( self , X , y = None , **params ) : #NEWLINE# #INDENT# 'Fit the model with X and apply the dimensionality reduction on X.\n\n        Parameters\n        ----------\n        X : array-like, shape (n_samples, n_features)\n            Training data, where n_samples in the number of samples\n            and n_features is the number of features.\n\n        Returns\n        -------\n        X_new : array-like, shape (n_samples, n_components)\n\n        ' #NEWLINE# self . w_ = self . _fit ( X , ** self ) #NEWLINE# return self . _transform ( X )