#NEWLINE# def train( self , data , target , **kwargs ) : #NEWLINE# #INDENT# '\n        Used in the training phase.  Override.\n        ' #NEWLINE# non_predictors = ( [ i . replace ( ' ' , '_' ) . lower ( ) for i in list ( set ( data [ 'team' ] ) ) ] + [ 'team' , 'next_year_wins' ] ) #NEWLINE# self . column_names = [ l for l in list ( data . columns ) if ( l not in non_predictors ) ] #NEWLINE# ( results , folds ) = self . cross_validate ( data , non_predictors , ** kwargs ) #NEWLINE# self . gather_results ( results , folds , data )