Search found 90 matches

by Antonio Torrecillas
Fri May 20, 2016 6:49 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Weird error
Replies: 10
Views: 1766

Re: Weird error

Each time you modify the code, you are testing another thing. things previously optmized may now not be.Keep the changes to a minimal expression. When you compile for 32 bits, alignments can be different, so that our conflicting variable can be surrounded by some spare bytes that can be "safely" hit...
by Antonio Torrecillas
Tue May 10, 2016 5:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Any JAVA experts around?
Replies: 18
Views: 2163

Re: Any JAVA experts around?

please try innerHTML instead of innnerHTML

This is my mistake.
by Antonio Torrecillas
Mon May 09, 2016 5:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Any JAVA experts around?
Replies: 18
Views: 2163

Re: Any JAVA experts around?

Something like:

Code: Select all

<script>
var previous = 0;
function customFunctionOnPgnTextLoad&#40;) &#123;
   var current = document.getElementById&#40;'GameText').innnerHTML.length;
   if&#40;current < previous&#41;&#123;
      location.reload&#40;);
   &#125;
   previous = current;
&#125;
</script>
by Antonio Torrecillas
Mon May 09, 2016 4:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Any JAVA experts around?
Replies: 18
Views: 2163

Re: Any JAVA experts around?

looking a bit I've seen that pgn4web.js has some events you can handle for your purpose. // empty event APIs to be redefined function customFunctionOnPgnTextLoad() {} this event fires each time the GameText updates. So, you can redefine this function and check if the length of the inne...
by Antonio Torrecillas
Sat Mar 15, 2014 4:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How Do You Automatically Tune Your Evaluation Tables
Replies: 116
Views: 41782

Re: The texel evaluation function optimization algorithm

My understanding of overfitting is that it's primarily a problem of the model being too flexible (i.e., having too many parameters to tune). I say "primarily" because there are "early stopping" and regularization methods that can help ameliorate overfitting in some cases. By overfitting I mean: par...
by Antonio Torrecillas
Fri Mar 14, 2014 9:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How Do You Automatically Tune Your Evaluation Tables
Replies: 116
Views: 41782

Re: The texel evaluation function optimization algorithm

so I'm looking for cheaper alternatives The methods with quick convergence use to be prone to overfitting.(I am a kind of maniac about tuning, I spent last year trying different methods. zero elo of improvement, but a very funny year).The larger the training set, the less prone to overfitting and t...
by Antonio Torrecillas
Fri Mar 14, 2014 5:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How Do You Automatically Tune Your Evaluation Tables
Replies: 116
Views: 41782

Re: The texel evaluation function optimization algorithm

Using quiesce values or full search values make also sense. note that changing some evaluation parameters may lead to different quiesce result. Pre-computing the quiesce position result can be misleading. for example exchanging queens can make decisive a third parameter.Change this parameter and the...
by Antonio Torrecillas
Fri Mar 14, 2014 3:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How Do You Automatically Tune Your Evaluation Tables
Replies: 116
Views: 41782

Re: The texel evaluation function optimization algorithm

Of course. Unless you filter out non-quiet positions first (say, positions where qscore != eval) you cannot use eval directly, but I don't see why you'd do that (except to throw away useful positions and possibly sabotage your statistics). I do throw away positions that are "close to" mate, since t...
by Antonio Torrecillas
Tue Mar 04, 2014 8:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash speed and memory usage
Replies: 15
Views: 2976

Re: Hash speed and memory usage

note that your var_static is allocated in the stack, a pointer exist (the stack pointer ) that indicate the memory region your are looking for. Your var_dinamic doesn't benefit from this and need to be loaded first in a register. I'm not an assembler expert but this is probably the extra instruction...
by Antonio Torrecillas
Sat Mar 01, 2014 9:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: How Do You Automatically Tune Your Evaluation Tables
Replies: 116
Views: 41782

Re: The texel evaluation function optimization algorithm

How about getting a strong engine and scoring all of the position, then converting this into a probability using the sigmoid function? I've tried this a couple of times.Then I compared mi evaluation with the two engines I used and this was my conclusion. This work fine but your evaluation need to b...