![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
forethougtht
软件工程本科、经济学硕士、量化研究员
展开
-
python DEAP学习2(遗传算法) 最大值问题
One Max ProblemThis is the first complete example built with DEAP. It will help new users to overview some of the framework possibilities. The problem is very simple, we search for a 1 filled li翻译 2017-05-27 10:05:47 · 5663 阅读 · 0 评论 -
python DEAP学习1(遗传算法) 概览
OverviewIf you are used to any other evolutionary algorithm framework, you’ll notice we do things differently with DEAP. Instead of limiting you with predefined types, we provide ways of creating翻译 2017-05-27 14:31:47 · 5266 阅读 · 0 评论 -
python DEAP学习3(遗传算法) 0-1背包问题
Knapsack Problem: Inheriting from SetAgain for this example we will use a very simple problem, the 0-1 Knapsack. The purpose of this example is to show the simplicity of DEAP and the ease to inher翻译 2017-05-27 14:47:53 · 3588 阅读 · 1 评论 -
python DEAP学习4(遗传算法)函数使用
Evolutionary ToolsThe tools module contains the operators for evolutionary algorithms. They are used to modify, select and move the individuals in their environment. The set of operators it cont翻译 2017-05-27 15:32:20 · 5613 阅读 · 0 评论 -
python datetime学习
关于时间序列的处理,单列一篇,不定时更新:1、把pandas df第一列转换成datetime类型f = 'E:\\0531\\'df = pd.read_excel(f + 'bond price.xls',index_col='date')df['date'] = pd.to_datetime(df.index, format='%Y-%m-%d %H:%M:%S')原创 2017-06-01 10:16:30 · 292 阅读 · 0 评论