#NEWLINE# def fit( self , X , y ) : #NEWLINE# #INDENT# '\n        Fit the model using X, y as training data.\n\n        Parameters\n        ----------\n        X : {array-like, sparse matrix} of shape [n_samples, n_features]\n            Training vectors, where n_samples is the number of samples\n            and n_features is the number of features.\n\n        y : array-like of shape [n_samples, n_outputs]\n            Target values (class labels in classification, real numbers in\n            regression)\n\n        Returns\n        -------\n        self : object\n\n            Returns an instance of self.\n        ' #NEWLINE# rhl = self . _create_random_layer ( ) #NEWLINE# self . _genelm_regressor = GenELMRegressor ( hidden_layer = rhl , regressor = self . regressor ) #NEWLINE# self . _genelm_regressor . fit ( X , y ) #NEWLINE# return self