detectree2.tests package
Submodules
detectree2.tests.test_all module
detectree2.tests.test_data module
detectree2.tests.test_evaluation module
- detectree2.tests.test_evaluation.test_site_f1_score()
Computes the F1 score on manufactured data from tests/input directory.
The data in the test and pred dirs contains manufactured data to test IoU It will give a zero value for one of the predictions and a value of 1 for the other. Small refactor of evaluation.py is needed. Improve evaluation functions. Function is currently incomplete.
- detectree2.tests.test_evaluation.test_tree_feature()
Tests the Feature class with some dummy data from detectree2-data.
Function is incomplete. Only returns known crown_area. Crowns are boxes so this is easy to evaluate.