GA icon indicating copy to clipboard operation
GA copied to clipboard

decrease the accuracy of genome of real-valued GA

Open maxrodkin opened this issue 5 years ago • 0 comments

Hello! i have calculating investing portfolio with GA. And have one problem - GA has give weights with too high accuracy. For example: > ga_results$optimised_porfolio sol_weights [1,] "TQOB@SU26210RMFS3" "0.625122874975204" [2,] "TQOB@SU26215RMFS2" "0.375124052166939" [3,] "TQBR@AFKS" "0.00508862733840942" [4,] "TQBR@DSKY" "0.000841811299324036" How to decrease the accuracy of genome of real-valued GA by increasing the mutation step? I need get such as: > ga_results$optimised_porfolio sol_weights [1,] "TQOB@SU26210RMFS3" "0.62" [2,] "TQOB@SU26215RMFS2" "0.36" [3,] "TQBR@AFKS" "0.01" [4,] "TQBR@DSKY" "0.01"

maxrodkin avatar Jul 16 '19 09:07 maxrodkin