(self, X)
return self
Train model based on input data.

        Parameters
        ----------
        X : array-like, shape = [n_majority_samples, n_features]
            Holds the majority samples.
Train model based on input data.
Train model based on input data .
def fit(self, X):
        """Train model based on input data.

        Parameters
        ----------
        X : array-like, shape = [n_majority_samples, n_features]
            Holds the majority samples.
        """
        self.X = X
        self.n_majority_samples, self.n_features = self.X.shape

        return self
def fit ( self , X ) : self . X = X self . n_majority_samples , self . n_features = self . X . shape return self