#NEWLINE# def fit( self , X , y , sample_weight = None ) : #NEWLINE# #INDENT# 'Fit Ridge regression model\n\n        Parameters\n        ----------\n        X : {array-like, sparse matrix}, shape = [n_samples, n_features]\n            Training data\n\n        y : array-like, shape = [n_samples] or [n_samples, n_targets]\n            Target values\n\n        sample_weight : float or numpy array of shape [n_samples]\n            Individual weights for each sample\n\n        Returns\n        -------\n        self : returns an instance of self.\n        ' #NEWLINE# return super ( Ridge , self ) . fit ( X , y , sample_weight = self )