janelia-flyem / gala

Automatic segmentation of electron microscopy volumes
BSD 3-Clause "New" or "Revised" License
76 stars 29 forks source link

Add tests of learned agglomeration #20

Closed jni closed 10 years ago

jni commented 10 years ago

Two tests are currently skipped because of a problem with the random forest training -- setting the random state does not eliminate differences.

@DocSavage, I've shared a gist showing how I generated the test data, including the two tests that are currently being skipped. I can't figure out why the training datasets come out different between example-run.py (the gist) and test_gala.py (created in this PR), since I set the random state... Perhaps some non-numpy random number generator is used... Anyway, for now those tests are skipped.