lspector / Clojush

The Push programming language and the PushGP genetic programming system implemented in Clojure.
http://hampshire.edu/lspector/push.html
Eclipse Public License 1.0
331 stars 94 forks source link

When writing reports, an example should explicitly say where they are being written #102

Open Vaguery opened 9 years ago

Vaguery commented 9 years ago

BTW, where are they being written? I'm currently running one that supposedly saves JSON and CSV, and have no idea what $PATH it's using. Root? Local directory? Some conventional directory I don't know about?

thelmuth commented 9 years ago

Right now, they're being written to the local Clojush directory. For example, when you set :print-csv-logs true, you get a file called log.csv appearing in your local directory logging the fitness and size of every individual. If you want the error on every test case, you can set :log-fitnesses-for-all-cases true.

Feel free to monkey with this -- I might be myself soon, since I need to log a bunch of fitnesses for something Nic and I are looking at. The CSV/JSON functionality is something I just threw together, and isn't well thought out.

Note: If no one has told you yet, clojush/pushgp/pushgp.clj is a good place to look for explanations of PushGP arguments. The top of the file has every single PushGP argument sorted somewhat by use, each commented with what it does.