#NEWLINE# def test_score_function( ) : #NEWLINE# #INDENT# lr = SoftmaxRegression ( epochs = 200 , eta = 0.005 , minibatches = 1 , random_seed = 1 ) #NEWLINE# lr . fit ( X , y ) #NEWLINE# acc = lr . score ( X , y ) #NEWLINE# assert ( acc == 1.0 ) , lr