code: def get_regression_data():
      return iter(synth.Friedman(seed=42).take(200))
  
file_path: river/river/tree/test_splitter.py
imports: from __future__ import annotations
  import pytest
  from river import datasets, tree
  from river.datasets import synth
label_desc: Use image node_id 1 for calling a global function with example usage: get_regression_data() and returns: iter