code: def step_three(data):
      # make sure we have pandas for this step, we need it to use the data_frame
      import pandas as pd  # noqa
      from sklearn.linear_model import LogisticRegression
  
      X_train, X_test, y_train, y_test = data
      model = LogisticRegression(solver="liblinear", multi_class="auto")
      model.fit(X_train, y_train)
      return model
  
label_desc: Use image node_id 3 for calling a global function with example usage: step_three(data) and returns: model