code: def test_score_function():
      lr = LogisticRegression(
          epochs=100, eta=0.01, minibatches=1, random_seed=1
      )
  
      lr.fit(X, y)
      acc = lr.score(X, y)
      assert acc == 1.0, "Acc: %s" % acc
  
imports: import sys
  import numpy
  from sklearn.base import clone
  from mlxtend.classifier import LogisticRegression
  from mlxtend.data import iris_data
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 7 for calling a global function with example usage: test_score_function() without return types