code: def set_data_matrix(self, X):
          
          X = check_array(X, accept_sparse=sparse_formats)
          self.X = X
docs: Parameters
          ----------
          X : ndarray (N_obs, N_features)
              The original data set to input.