Skip to content
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

Background ratio #159

Merged
merged 8 commits into from
Dec 12, 2019
Merged

Background ratio #159

merged 8 commits into from
Dec 12, 2019

Conversation

martham93
Copy link
Contributor

@martham93 martham93 commented Dec 9, 2019

updates to images.py so background ratio will apply to multi-class classification data sets, not just single class. Additional information in issue 158
Once this change is approved we will need to do a new release for FFDA, so this PR also addresses small bug in download_tile_tms function arguments fromutils.py, to get that fix in the latest release.

@martham93 martham93 requested a review from wronk December 9, 2019 23:08
@martham93 martham93 added the enhancement New feature or request label Dec 9, 2019
Copy link
Contributor

@wronk wronk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to set the example's background ratio to 0 now to make users explicitly say if they want background tiles or not. For users doing multiclass classification who didn't want background tiles (like in the example), this would change their output.

Let's also remove the change to download_tile_tms and handle that bug here

@martham93 martham93 requested a review from wronk December 10, 2019 00:48
Copy link
Contributor

@wronk wronk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks pass, LGTM

@drewbo, mind having a look when you're back?

@drewbo
Copy link
Contributor

drewbo commented Dec 12, 2019

@martham93 can you also update the parameters docs page to clarify this change? Otherwise good to go

@martham93
Copy link
Contributor Author

thanks @drewbo, the parameters docs are now updated

@wronk wronk merged commit e9e0afe into master Dec 12, 2019
@wronk
Copy link
Contributor

wronk commented Dec 12, 2019

Merging, thanks @martham93

@martham93 martham93 deleted the background_ratio branch December 12, 2019 21:26
@wronk wronk mentioned this pull request Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants