#NEWLINE# @ pytest . mark . parametrize ( 'Model, layers, weighted, data' , [ ( theanets . Regressor , u . REG_LAYERS , False , u . REG_DATA ) , ( theanets . Classifier , u . CLF_LAYERS , False , u . CLF_DATA ) , ( theanets . Autoencoder , u . AE_LAYERS , False , u . AE_DATA ) , ( theanets . Regressor , u . REG_LAYERS , True , u . WREG_DATA ) , ( theanets . Classifier , u . CLF_LAYERS , True , u . WCLF_DATA ) , ( theanets . Autoencoder , u . AE_LAYERS , True , u . WAE_DATA ) ] ) #NEWLINE# def test_sgd( Model , layers , weighted , data ) : #NEWLINE# #INDENT# u . assert_progress ( Model ( layers , weighted = weighted ) , data )