Re: [請益] AI(人工智慧)相關內容 , fitness值的定義

看板logic作者 (Tango !)時間19年前 (2006/06/21 01:21), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《Limpburke (because you are)》之銘言: : (*A(-(*AA)(sqrt A))) fitness:1 : (/A(/(/AA)(/AA))) fitness:3 : (+A(*(sqrt A)A)) fitness:0 : PS.sqrt為開根號的意思, ex:A = (sqrt(*AA)) : Since the fitness measure is a function of the data points we want to explain, : we define fitness as the number of output of the program that come within : 20 per cent of the correct output values. We use this definition to create the : fitness measure of this initial population, to build crossover and mutation : operators that can produce further generations of programs, and to determine : termination conditions. : 請問,fitness的定義為何? : 我看了定義後,似懂非懂,但無法理解為何上面三個前序表示式的fitness值分別為1,3,0 : 請各位先進高手專家,不吝賜教,謝謝,感激不盡! 這個看起來像是基因演算法 (GA) 你可以去網路上找有關Genetic Algorithm的書, 亦或到台大生工系童慶斌老師的站上下載, ftp://140.112.76.49 匿名登入,去找啟發式演算法的資料夾, 適合度是我們使用者所定義的, 端視題目的需要而定, 比如說今天我要 Obj: min Z = x1 + x2 Constraint: x1>0; x2>0; 那我就會想用倒數來當fitness~ 以上例子純屬解說, 那種題目是不需要用GA的~:p Do you get it? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.233.100
文章代碼(AID): #14c2wJ8l (logic)
文章代碼(AID): #14c2wJ8l (logic)