#NEWLINE# @ pytest . mark . parametrize ( 'loss' , [ 'xe' , 'hinge' ] ) #NEWLINE# def test_classification( loss ) : #NEWLINE# #INDENT# net = theanets . Classifier ( [ u . NUM_INPUTS , u . NUM_HID1 , u . NUM_CLASSES ] , loss = loss ) #NEWLINE# u . assert_progress ( net , u . CLF_DATA )