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