code: def train_fn():
      return logistic_classification_learner(
          target="target",
          prediction_column="prediction",
          weight_column="w",
          params={"random_state": 52},
      )
  
file_path: fklearn/tests/tuning/test_utils.py
imports: import pandas
  import pytest
  from fklearn.training.classification import logistic_classification_learner
  from fklearn.metrics.pd_extractors import evaluator_extractor
  from fklearn.tuning.utils import get_avg_metric_from_extractor, get_best_performing_log, get_used_features, gen_key_avgs_from_dicts, gen_key_avgs_from_logs, order_feature_importance_avg_from_logs, gen_key_avgs_from_iteration, gen_dict_extract
label_desc: Use image node_id 6 for calling a global function with example usage: train_fn() and returns: logistic_classification_learner