class_docstr: Base class for PCA methods.
  
  Warning: This class should not be used directly.
  Use derived classes instead.
docstr: Transform data back to its original space.
  
  In other words, return an input X_original whose transform would be X.
  
  Parameters
  ----------
  X : array-like, shape (n_samples, n_components)
      New data, where n_samples is the number of samples
      and n_components is the number of components.
  
  Returns
  -------
  X_original array-like, shape (n_samples, n_features)
  
  Notes
  -----
  If whitening is enabled, inverse_transform will compute the
  exact inverse operation, which includes reversing whitening.
docstr_tok: ["Transform","data","back","to","its","original","space",".","In","other","words",",","return","an","input","X_original","whose","transform","would","be","X.","Parameters","--","--","--","--","--","X",":","array-like",",","shape","(","n_samples",",","n_components",")","New","data",",","where","n_samples","is","the","number","of","samples","and","n_components","is","the","number","of","components",".","Returns","--","--","--","-","X_original","array-like",",","shape","(","n_samples",",","n_features",")","Notes","--","--","-","If","whitening","is","enabled",",","inverse_transform","will","compute","the","exact","inverse","operation",",","which","includes","reversing","whitening","."]
code: def inverse_transform(self, X, y=None):
      """Transform data back to its original space.
  
      In other words, return an input X_original whose transform would be X.
  
      Parameters
      ----------
      X : array-like, shape (n_samples, n_components)
          New data, where n_samples is the number of samples
          and n_components is the number of components.
  
      Returns
      -------
      X_original array-like, shape (n_samples, n_features)
  
      Notes
      -----
      If whitening is enabled, inverse_transform will compute the
      exact inverse operation, which includes reversing whitening.
      """
      if self.whiten:
          return (
              fast_dot(
                  X,
                  np.sqrt(self.explained_variance_[:, np.newaxis])
                  * self.components_,
              )
              + self.mean_
          )
      else:
          return fast_dot(X, self.components_) + self.mean_
  
file_path: catboost/contrib/python/scikit-learn/py2/sklearn/decomposition/base.py
imports: import numpy
  from scipy import linalg
  from ..base import BaseEstimator, TransformerMixin
  from ..utils import check_array
  from ..utils.extmath import fast_dot
  from ..utils.validation import check_is_fitted
  from ..externals import six
  from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 5 for calling the _BasePCA obj's underlying member method code with example usage: obj.inverse_transform(X, y) and returns: unknown, unknown