Hi,
Although I am nowhere near convergence yet, I was wondering if anyone had any tips on how to export the data to produce a graph. This is from the Windows GUI. I am attaching the latest two files it produces. Any help would be appreciated.
CLOP export to graphs in Windows
Moderators: hgm, Rebel, chrisw
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
CLOP export to graphs in Windows
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: CLOP export to graphs in Windows
Hi
To reproduce the graphs on a different system,the *.dat file and the corresponding *.clop file are needed.
Best
To reproduce the graphs on a different system,the *.dat file and the corresponding *.clop file are needed.
Best
-
- Posts: 868
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: CLOP export to graphs in Windows
note that 350 or so games is not much to work on for clop...
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
Re: CLOP export to graphs in Windows
I completely agree, and am nowhere near stopping. Attached is my clop file as well.F. Bluemers wrote: ↑Sat May 26, 2018 7:57 pm note that 350 or so games is not much to work on for clop...
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: CLOP export to graphs in Windows
Tried to create a script to read .dat file and output it to csv for plotting in say excel. Plot below is from your FPU-PUCT-Testing.dat.Albert Silver wrote: ↑Sat May 26, 2018 8:46 pmI completely agree, and am nowhere near stopping. Attached is my clop file as well.F. Bluemers wrote: ↑Sat May 26, 2018 7:57 pm note that 350 or so games is not much to work on for clop...
If you are interested, I will upload it after some random checking.
The script will only output the csv and you have to create a plot in excel/google spreadsheet. The scale of perf series (yellow line) is in secondary y-axis at right of plot.
perf = cummulative_score/cummulative_games
perf is still below 50% but the trend looks good as it is increasing.
-
- Posts: 3019
- Joined: Wed Mar 08, 2006 9:57 pm
- Location: Rio de Janeiro, Brazil
Re: CLOP export to graphs in Windows
Hi Ferdy,Ferdy wrote: ↑Sun May 27, 2018 4:27 amTried to create a script to read .dat file and output it to csv for plotting in say excel. Plot below is from your FPU-PUCT-Testing.dat.Albert Silver wrote: ↑Sat May 26, 2018 8:46 pmI completely agree, and am nowhere near stopping. Attached is my clop file as well.F. Bluemers wrote: ↑Sat May 26, 2018 7:57 pm note that 350 or so games is not much to work on for clop...
If you are interested, I will upload it after some random checking.
The script will only output the csv and you have to create a plot in excel/google spreadsheet. The scale of perf series (yellow line) is in secondary y-axis at right of plot.
perf = cummulative_score/cummulative_games
perf is still below 50% but the trend looks good as it is increasing.
Many thanks for this, it is quite interesting. Here are my updated results so far:
and Winrate:
Updated files attached for the record.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: CLOP export to graphs in Windows
Convert clop data file to csv file for graphing.
Usage:
Download:
CLOP data reader
Tried to use plotly lib, see if you can view this. You should be able to zoom in/out, pan etc.
clop plot
Next version of cdr will automatically plot the data saved locally in html file (can be exported to plotly account for viewing online). But you need to install plotly.
I assume you already have installed python which may include a pip. Open windows cmd (run as administrator) is better then type,
Usage:
Code: Select all
cdr.exe -i FPU-PUCT-Testing.dat -o out.csv
CLOP data reader
Tried to use plotly lib, see if you can view this. You should be able to zoom in/out, pan etc.
clop plot
Next version of cdr will automatically plot the data saved locally in html file (can be exported to plotly account for viewing online). But you need to install plotly.
I assume you already have installed python which may include a pip. Open windows cmd (run as administrator) is better then type,
Code: Select all
pip install plotly