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