Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Aquarium / Overwrite Evaluations in IDeA Tree
- - By Hamster (**) Date 2019-04-15 21:41
How can I overwrite the valuations in an existing tree with the valuations of another engine?
Alternatively, how can I export the positions (but not evals) of an IDeA as taks to feed the tasks into a fresh IDeA project?
Parent - - By pawnslinger (****) Date 2019-04-15 22:36
Perhaps there is an easy way to do this, I do not know it.

Whenever this happens, and it happens often as engines change and evolve, I just copy the tree (whole, all parts of it) and continue building the tree with the new engine.  It takes awhile, depending on the size of the tree, for it to work itself out, but eventually, thru the minimax function, the old evaluations are all updated.

To obtain this effect, only the leaf nodes (by way of prolongation) need to be evaluated.  Minimax updates the rest of the tree from the new values in the leaf nodes.  Years ago, and in a different program, I had the ability to export just the leaf nodes for re-evaluation, import the results and then minimax.
Parent - - By Ghengis-Kann (***) Date 2019-04-15 23:08
I was wishing I could do this over the weekend.

The leaf nodes would be ideal, but even a way to convert from AQT to EPD would make it possible.
The positions obviously must be in the AQT tree, so it doesn't seem like it would be too hard.

One thing you can do to facilitate this if your tree is not too huge is to save your analysis as a game in the database.
Any moves you entered or positions you actually looked at will be in the notation window, and will be saved.
From there you can export the game to IDEA including variations or copy and paste it followed by clicking the All Positions button into a new project with a different engine.

Opening the existing tree and manually following the most important variations will probably give you most of what you need, but I don't know of any practical way to do this for thousands of positions.
Parent - By pawnslinger (****) Date 2019-04-16 02:25
Some of my projects exceed 4 million nodes.  Sooooo, not small.

The Najdorf and King's Indian projects are the biggest, by far...  the Nimzo project a close runner up.  Not easy to deal with.... just about the time I get it all upgraded to a new engine, another new engine appears.  So most of my big projects are staying on SF 9 for awhile longer, at least until sometime next year.

A funny thing, I notice that increasing the analysis depth usually works out about the same as adding a new engine.  When I started these trees (years ago now).... I was using Rybka 3, then 4, with an analysis depth of around 12-14 back in those days.  Rybka isn't very fast, so a shallow depth.  Then SF came along, when I switched over to it, that made a big difference, and my depth jumped up to around 18 or so.  Then I upgraded from 1st gen core i7-920 to approximately 7th gen (Ryzen 1700x).  Each time SF upgraded or my hardware upgraded, my trees went thru the wringer for awhile.  The same is happening now, because I have added the server, effectively doubling my compute power.  I am frantically trying to get my key trees ready for a big event starting in June!  So now my analysis depth is running in the high 20s and my trees are bobbing around like toy boats in a storm.
Parent - - By dickie (**) Date 2019-04-16 10:56 Upvotes 2
There are a couple of ways of implementing your alternative. If you want to transfer all positions in the original tree, then you can export the tree to an epd file using Tree Utilities, explained here http://rybkaforum.net/cgi-bin/rybkaforum/topic_show.pl?pid=98226. Then use Manage/Add Tasks to import the positions as tasks in your new tree.

If you prefer only to import positions from the best lines in the original tree then do the following. Specify the original tree as the master tree of your new tree. Then use the Best Line from Tree button in the Tree menu to deliver the best lines from the master (original) tree to the notation. You will need to configure the Best Line button using the little spanner below it, first to specify that you want lines from the master tree only, and secondly to control the number of lines imported (can be very large) with the Delta. You should now have the best positions from your original tree in your notation and by simply pressing the All Positions button in the Home-IDeA menu they will be added to the task queue of your new tree. I usually manage this operation in the Sandbox so that the extended notation can be deleted afterwards.
Parent - By Ghengis-Kann (***) Date 2019-04-17 02:21
Thanks Dickie!

I totally forgot that the tree operations are hidden in the external programs menu when you click on the fish.

That worked perfectly.
Up Topic Rybka Support & Discussion / Aquarium / Overwrite Evaluations in IDeA Tree

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill