#NEWLINE# def train_model( model , mod3 ) : #NEWLINE# #INDENT# data = json . load ( open ( ( '../models/training_data_%i.json' % data ) ) ) #NEWLINE# model . fit ( data [ 'pos' ] , data [ 'neg' ] ) #NEWLINE# return model