1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Explainable AI in Python

Connected

Bài tập

Permutation importance for MLPClassifier

Your task is to use permutation importance to identify which features are most impactful in predicting heart disease with an MLPClassifier.

X containing the features and y containing the labels have been pre-loaded for you. matplotlib.pyplot has been imported as plt.

Hướng dẫn

100 XP
  • Compute the permutation importance with 10 repeats using a random_state of 1.
  • Plot feature importances with a bar plot.