为:

plt.bar(range(len(result)), result['Importances']) plt.xticks(range(len(result)), result['Genes'], rotation=90)

import pandas as pdfrom sklearnensemble import RandomForestClassifierimport matplotlibpyplot as pltfrom sklearnmetrics import roc_curve auc# 读取Excel表格数据data = pdread_excelCUserslenovoDesktopHIVGSE6740

原文地址: https://www.cveoy.top/t/topic/98B 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录