code: def test_switching_to_regression_tree():
      df = pd.read_csv("dataset/golf4.txt")
      config = {"algorithm": "ID3"}
      model = cb.fit(df, config, silent=True)
      assert model["config"]["algorithm"] == "Regression"
      logger.info("✅ switching to regression tree test done")
  
imports: import pandas
  from chefboost import Chefboost
  from chefboost.commons.logger import Logger
label_desc: Use image node_id 3 for calling a global function with example usage: test_switching_to_regression_tree() without return types