#NEWLINE# def check( self , a_in , a_out , a_mask , act = 'Softmax' ) : #NEWLINE# #INDENT# nn = MLPC ( layers = [ L ( act ) ] , learning_rule = 'adam' , learning_rate = 0.05 , n_iter = 250 , n_stable = 25 ) #NEWLINE# nn . fit ( a_in , a_out , a_mask ) #NEWLINE# return nn . predict_proba ( a_in )