Clojush icon indicating copy to clipboard operation
Clojush copied to clipboard

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

Open Vaguery opened this issue 10 years ago • 1 comments

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?

Vaguery avatar Feb 20 '15 13:02 Vaguery

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.

thelmuth avatar Feb 20 '15 14:02 thelmuth