code: def test_build_id3_with_external_validation_set():
      df = pd.read_csv("dataset/golf.txt")
      model = cb.fit(df, silent=True)
  
      assert model["config"]["algorithm"] == "ID3"
  
      validation_df = pd.read_csv("dataset/golf.txt")
      results = cb.evaluate(model, validation_df, silent=True)
  
      assert results.get("Accuracy", 0) > 99
      assert results.get("Precision", 0) > 99
      assert results.get("Recall", 0) > 99
      assert results.get("F1", 0) > 99
      assert results.get("Instances", 0) == validation_df.shape[0]
      assert "Confusion matrix" in results.keys()
      assert "Labels" in results.keys()
  
      logger.info("✅ id3 test with external validation data frame done")
  
file_path: chefboost/tests/test_id3.py
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_build_id3_with_external_validation_set() without return types