code: def get_titanic_binary_classification_dataset(basic=True):
      try:
          df_titanic = pd.read_csv(os.path.join("tests", "titanic.csv"))
      except Exception as e:
          print("Error")
          print(e)
          dataset_url = "http://biostat.mc.vanderbilt.edu/wiki/pub/Main/DataSets/titanic3.csv"
          df_titanic = pd.read_csv(dataset_url)
          # Do not write the index that pandas automatically creates
          df_titanic.to_csv(
              os.path.join("tests", "titanic.csv"), index=False
          )
  
      df_titanic = df_titanic.drop(["boat", "body"], axis=1)
  
      if basic == True:
          df_titanic = df_titanic.drop(
              ["name", "ticket", "cabin", "home.dest"], axis=1
          )
  
      df_titanic_train, df_titanic_test = train_test_split(
          df_titanic, test_size=0.33, random_state=42
      )
      return df_titanic_train, df_titanic_test
  
file_path: auto_ml/tests/advanced_tests/utils_testing.py
imports: import sys, os
  import pandas
  from sklearn.datasets import load_boston
  from sklearn.metrics import brier_score_loss, mean_squared_error
  from sklearn.model_selection import train_test_split
  from auto_ml import Predictor
label_desc: Use image node_id 2 for calling a global function with example usage: get_titanic_binary_classification_dataset(basic) and returns: df_titanic_train,  df_titanic_test