看板 [ Python ]
討論串[問題] genetic algorithm 函數最大值
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者beatitude (python fan)時間11年前 (2014/06/02 23:54), 11年前編輯資訊
0
0
2
內容預覽:
Hi,. 我寫了一個比較簡單的版本,. 給你參考看看, thanks. # genetic algorithm. from numpy import random. import matplotlib.pyplot as plt. # environment. err = 0.5 # error t
(還有789個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者sariel0322 (sariel)時間11年前 (2014/06/02 22:00), 編輯資訊
0
0
2
內容預覽:
python新手. 這個是我要解的數學方程式: f(x) = –x*x + 16x. 要在區間(0,63)中找出其最大值. 參考了一個網站的人寫的code. 網站來源:. http://johnisacoolboy.pixnet.net/blog/post/89324086-%E5%9F%BA%E5
(還有1961個字)
首頁
上一頁
1
下一頁
尾頁