Answers.Body: <p>Not exactly. Both Chess Position Trainer and Chess Openings Wizard (the successor of Bookup) can create a tree manually or importing a PGN, export the positions to EPD, and import the evaluations from EPD, but won't create positions from an EPD, so they can't create trees from EPD.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-19T19:38:38.350Z
Answers.LastActivityDate: 2020-02-19T19:38:38.350Z
Answers.UserDisplayName: Bad Bishop
Answers.Body: <p>I have seen two softwares that does what you wish. <a href="http://www.chesspositiontrainer.com/" rel="nofollow noreferrer">Chess Position Trainer</a> is one of them. The other is <a href="http://www.bookup.com" rel="nofollow noreferrer">bookup</a>.</p>
  
  <p>Those softwares reads games in pgn and files containing epd positions with its evaluations in centipawns.  This files contains the leaf nodes positions, generated by Chess Position Trainer for instance. You later analyze the epd file. </p>
  
  <p>I use "GradualTest ver. 2.6" for this purpose. This program feeds the positions to an engine and writes the results to another file. I import the resulting file and the evaluations are added at the leaf positions. Later, the program propagates the valuations to the upstream positions, up to the root, applying the minimax algorithm.</p>
  
  <p>Both programs are the best I have seen. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-21T10:58:52.793Z
Answers.LastActivityDate: 2020-01-21T10:58:52.793Z
Answers.UserDisplayName: djnavas
Body: <p>Is there any script (any language) that can make a chess tree from an EPD file? Or what algorithm (any example) should be use to create it on my own?</p>
  
  <p>I am looking for one like the Chessbase opening tree window. The EPD evalulation should be such that it is sorted by eval, but how I tell comp what position is first and what position is next one. </p>
  
  <p>EDIT:
  tree example
  <a href="https://i.sstatic.net/GhZhw.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/GhZhw.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-19T16:30:22.510Z
Comments.Text: Is it possible to include an example of a chess tree in your question? Without knowing much about this, one idea could be to try to extract the necessary parts from the EPD (hopefully someone's written a python library that does that), and then convert that into a chess tree. But I am only speculating as I don't know either well
Comments.UserDisplayName: stevec
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-01-21T14:36:10.630Z
Comments.Text: Hmmm. The inclusion of any sort of evaluation is not part of the standard EPD format (http://portablegamenotation.com/EPD.html) -- you may not find too many ready-made solutions for a proprietary extension of the standard. You could always try SCID (open source).
Comments.UserDisplayName: Arlen
Tags: <software><programming><fen>
Title: A script that can create a chess tree from an EPD file
ThreadText: # A script that can create a chess tree from an EPD file
  
  (Asked by: username_0 on 2020-01-19)
  
  Is there any script (any language) that can make a chess tree from an EPD file? Or what algorithm (any example) should be use to create it on my own?
  
  I am looking for one like the Chessbase opening tree window. The EPD evalulation should be such that it is sorted by eval, but how I tell comp what position is first and what position is next one.
  
  EDIT:
  tree example
  [![enter image description here](https://i.sstatic.net/GhZhw.png)](https://i.sstatic.net/GhZhw.png)
  
  **Tags:** software, programming, fen
  
  > **Comments:**
  > **username_1**: Is it possible to include an example of a chess tree in your question? Without knowing much about this, one idea could be to try to extract the necessary parts from the EPD (hopefully someone's written a python library that does that), and then convert that into a chess tree. But I am only speculating as I don't know either well  
  > **username_2**: Hmmm. The inclusion of any sort of evaluation is not part of the standard EPD format (http://portablegamenotation.com/EPD.html) -- you may not find too many ready-made solutions for a proprietary extension of the standard. You could always try SCID (open source).  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2020-02-19. Score: 2
  
  Not exactly. Both Chess Position Trainer and Chess Openings Wizard (the successor of Bookup) can create a tree manually or importing a PGN, export the positions to EPD, and import the evaluations from EPD, but won't create positions from an EPD, so they can't create trees from EPD.
  
  
  ---
  
  ### Answer by username_4 on 2020-01-21. Score: 1
  
  I have seen two softwares that does what you wish. [Chess Position Trainer](http://www.chesspositiontrainer.com/) is one of them. The other is [bookup](http://www.bookup.com).
  
  Those softwares reads games in pgn and files containing epd positions with its evaluations in centipawns. This files contains the leaf nodes positions, generated by Chess Position Trainer for instance. You later analyze the epd file.
  
  I use "GradualTest ver. 2.6" for this purpose. This program feeds the positions to an engine and writes the results to another file. I import the resulting file and the evaluations are added at the leaf positions. Later, the program propagates the valuations to the upstream positions, up to the root, applying the minimax algorithm.
  
  Both programs are the best I have seen.
  
  
  ---
  
  