python
子永
这个作者很懒,什么都没留下…
展开
-
【dtreeviz ‘module‘ object is not callable 解决方案】dtreeviz python
【代码】【dtreeviz 'module' object is not callable 解决方案】dtreeviz python。原创 2022-08-31 12:36:20 · 1138 阅读 · 0 评论 -
python 计算制冷系统循环中的干度
使用python 计算制冷系统循环中的干度,蒸发器进口制冷剂干度原创 2022-06-15 17:16:18 · 783 阅读 · 0 评论 -
python 简易版 遗传算法
简易的遗传算法,使用时需要按照自己的需求修改fitness_func 函数import randomdef fitness_func(code): # code 为01字符串 c_value = int(code, 2) return -(c_value - 1) * (c_value - 41) * (c_value - 480)class GA(object): def __init__(self, fit_func, code_length=10, in原创 2022-01-07 12:35:59 · 423 阅读 · 0 评论