#NEWLINE# def build_model( self , dataset ) : #NEWLINE# #INDENT# model = MLP ( input_dim = dataset . feature_size ( ) , rand_seed = self . state . model . rand_seed ) #NEWLINE# hidden1 = self . build_layer ( dataset , self . state . hidden1 ) #NEWLINE# hidden2 = self . build_layer ( dataset , self . state . hidden2 ) #NEWLINE# output = self . build_layer ( dataset , self . state . output ) #NEWLINE# model . add_layer ( output ) #NEWLINE# return model