# just quick test of DTC # more detail later X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2, random_state = 42) # Make predictions on the testing data dtc= DecisionTreeClassifier() dtc.fit(X_train, y_train) y_pred = dtc.predict(X_test) # Evaluate the model's accuracy print("Accuracy:", accuracy_score(y_test, y_pred)) # Print the confusion matrix print("Confusion matrix:") print(confusion_matrix(y_test, y_pred)) print(classification_report(y_test, y_pred))