code: def fit_transform(self, sequences, y=None):
          
          self.fit(sequences)
          transforms = self.transform(sequences)
  
          return transforms
docs: Fit the model and apply dimensionality reduction
  
          Parameters
          ----------
          sequences: list of array-like, each of shape (n_samples_i, n_features)
              Training data, where n_samples_i in the number of samples
              in sequence i and n_features is the number of features.
          y : None
              Ignored
  
          Returns
          -------
          sequence_new : list of array-like, each of shape (n_samples_i, n_components)