摘要: plt.figure(figsize=(12, 8)) shap.summary_plot(shap_values[0], X_train[features],show=False,class_names = ['N','A']) fig = plt.gcf() # 保存图像到指定文件夹,设置 dp 阅读全文
posted @ 2025-02-27 11:12 cup_leo 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 常见问题:(1)Locking [dev-packages] dependencies...Locking [dev-packages] dependencies...Locking [packages] dependencies...解决 pipenv 安装第三方库时卡住(锁定依赖):更换国内源参 阅读全文
posted @ 2025-01-13 16:26 cup_leo 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 对应列表 https://blog.csdn.net/FL1623863129/article/details/109093334 https://blog.csdn.net/FL1623863129/article/details/109093334 阅读全文
posted @ 2024-12-09 17:35 cup_leo 阅读(7) 评论(0) 推荐(0) 编辑
摘要: def printProgressBar(iteration, total, prefix='', suffix='', decimals=1, length=100, fill='█', printEnd="\r"): """ Call in a loop to create terminal p 阅读全文
posted @ 2024-12-08 10:31 cup_leo 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1 import matplotlib.pyplot as plt 2 from IPython.display import display, clear_output 3 4 lst=[] 5 fig,ax=plt.subplots() 6 for i in range(10): 7 ax.cl 阅读全文
posted @ 2024-10-25 15:20 cup_leo 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 使用虚拟环境 用pipenv创建python虚拟环境。因为在打包环境下会引入了很多不必要的文件,一块打包会导致在生成exe文件过大,而在虚拟纯净环境里打包程序可以有效避免。 步骤1:首先在需要作为虚拟环境的文件夹内执行pip install pipenv命令 步骤2:在安装成功后使用pipenv s 阅读全文
posted @ 2024-10-16 08:57 cup_leo 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 下面的链接是一个集合式的搜索引擎,集合了各类AI工具,有免费的,有收费的https://www.aig123.com/其中对于学习和科研来讲,比较好用是秘塔AI网址:https://metaso.cn/目前图书馆试用的数据库是CNKI AI学术研究助手网址:https://aiplus.cnki.n 阅读全文
posted @ 2024-09-24 16:40 cup_leo 阅读(114) 评论(0) 推荐(0) 编辑
摘要: jupyter线上实验代码看文件 https://jupyter.org/try-jupyter/lab/ 阅读全文
posted @ 2024-09-20 10:16 cup_leo 阅读(6) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/gitblog_00071/article/details/139555390 https://raschka-research-group.github.io/coral-pytorch/api_subpackages/coral_pytorch.lay 阅读全文
posted @ 2024-07-04 09:16 cup_leo 阅读(20) 评论(0) 推荐(0) 编辑
摘要: tensorflow-estimator==1.15.1!pip install pandas==1.1.0 scikit-learn==0.23.1 numpy==1.19.0 tensorflow-estimator==2.5.0 !pip install pandas==1.1.0 sciki 阅读全文
posted @ 2024-05-24 14:52 cup_leo 阅读(726) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示