#NEWLINE# def predict( self , params , exog = None ) : #NEWLINE# #INDENT# if ( exog is None ) : #NEWLINE# #INDENT# exog = self . exog #NEWLINE# #UNINDENT# return np . dot ( exog , params [ : self . exog . shape [ 1 ] ] )