Difference between revisions of "Thread:Talk:WhiteFang/Anti-Surfer Targeting/reply (5)"

From Robowiki
Jump to navigation Jump to search
 
m (Great things happened)
 
Line 3: Line 3:
 
:When I actually succeed at making robocode allow more data saving I'll move onto the recursive technic.
 
:When I actually succeed at making robocode allow more data saving I'll move onto the recursive technic.
 
:"But really, the secret to a good score is good movement." I know but I have been working on movement since 2.2.7.1 and I want to stop my suffering for a while. Maybe genetic algorithm against Simple Targeting strategies and for the flattener?
 
:"But really, the secret to a good score is good movement." I know but I have been working on movement since 2.2.7.1 and I want to stop my suffering for a while. Maybe genetic algorithm against Simple Targeting strategies and for the flattener?
 +
 +
:Edit:
 +
:After tuning with three more parameters three things happened:
 +
*I had my AS gun outperformed my Main Gun against Shadow for the first time
 +
*I found out that my GA always maximizes K minimizes Divisor(probably I forgot to activate bot width calculations) and minimizes shots taken.
 +
*Manhattan distance works much better than Squared Euclidean
 +
 +
:The random weights started out with 1542 hits.
 +
:GA got it to 1923 hits.
 +
:I made K 100, Divisor 1 and Decay 0 and hits rose up to 2086.
 +
:I used Manhattan distance and it got 2117 hits
 +
:Finally when I rolled really high and low values to 10 and 0 it got 2120 hits.

Latest revision as of 15:34, 20 March 2019

After Xor said precise intersection I was searching for another meaning in real waves.=)
My fitness function is using the KNNPredictor class in WhiteFang so basically everything is included in the algorithm.
When I actually succeed at making robocode allow more data saving I'll move onto the recursive technic.
"But really, the secret to a good score is good movement." I know but I have been working on movement since 2.2.7.1 and I want to stop my suffering for a while. Maybe genetic algorithm against Simple Targeting strategies and for the flattener?
Edit:
After tuning with three more parameters three things happened:
  • I had my AS gun outperformed my Main Gun against Shadow for the first time
  • I found out that my GA always maximizes K minimizes Divisor(probably I forgot to activate bot width calculations) and minimizes shots taken.
  • Manhattan distance works much better than Squared Euclidean
The random weights started out with 1542 hits.
GA got it to 1923 hits.
I made K 100, Divisor 1 and Decay 0 and hits rose up to 2086.
I used Manhattan distance and it got 2117 hits
Finally when I rolled really high and low values to 10 and 0 it got 2120 hits.