-
Notifications
You must be signed in to change notification settings - Fork 14
Optimize evaluation #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rhoadesScholar
wants to merge
21
commits into
main
Choose a base branch
from
optim_eval
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Optimize evaluation #173
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
fe7f758
Initial plan
Copilot 35ff077
Add unit tests for utility, security, and crops modules
Copilot f015ba0
Add unit tests for loss module with 100% coverage
Copilot 6b0cb22
Remove mocks from tests - use real HTTP requests and actual file I/O
Copilot ba5439d
feat(evaluate): Improve instance evaluation implementation.
rhoadesScholar 251c6b2
fix(evaluate): Move INSTANCE_RATIO_CUTOFF definition inside iou_matri…
rhoadesScholar 1d36ece
Merge branch 'optim_eval' into copilot/fix-failing-tests-coverage
rhoadesScholar 6dc2984
Update src/cellmap_segmentation_challenge/evaluate.py
rhoadesScholar adbb007
Update tests/test_iou_matrix.py
rhoadesScholar 32e00cc
fix(evaluate): Remove unused spoof_precomputed class and clean up iou…
rhoadesScholar 74499fb
Update src/cellmap_segmentation_challenge/evaluate.py
rhoadesScholar 739e743
Update src/cellmap_segmentation_challenge/evaluate.py
rhoadesScholar c2592d1
Update tests/test_iou_matrix.py
rhoadesScholar 21b7a35
Merge branch 'optim_eval' into copilot/fix-failing-tests-coverage
rhoadesScholar 429872b
Merge pull request #172 from janelia-cellmap/copilot/fix-failing-test…
rhoadesScholar 7ddd3ef
Add connected-components-3d dependency and improve evaluation metrics
rhoadesScholar 9c204be
Refactor import statements in evaluate.py and add numpy dependency in…
rhoadesScholar f9c16fa
Enhance crop packaging process and improve test configurations
rhoadesScholar 97207f2
Fix return value in package_crop function and comment out download_fi…
rhoadesScholar 7705c37
Update test cases to use crop 9 and modify datasplit handling for val…
rhoadesScholar e0d8d01
Add skip_in_ci marker to tests for conditional execution in CI
rhoadesScholar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation states "Assumes IDs are sequential starting at 1" but the implementation actually uses
g.max()to determine the number of instances. This means the function expects IDs from 1 tomax_idwithout gaps. If there are non-sequential IDs (e.g., 1, 2, 5), the implementation will create a matrix with empty rows/columns. Consider clarifying the documentation to state "Assumes IDs range from 1 to max(ID) with 0 as background" or handle non-sequential IDs explicitly.