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

Allow "sf" format for validation data in sits_accuracy() function #1150

Closed
EstefaPizarro opened this issue Jun 6, 2024 · 1 comment
Closed
Assignees
Milestone

Comments

@EstefaPizarro
Copy link

Describe the requested improvement
One of the arguments of the function sits_accuracy() is "validation", which are the samples to validate the classification.
According with the documentation "The validation data needs to contain the following columns: "latitude", "longitude", "start_date", "end_date", and "label". It can be either a path to a CSV file, a sits tibble or a data frame"; please allow this argument to be in "sf" format and contain the same columns

@gilbertocamara gilbertocamara self-assigned this Jun 7, 2024
@OldLipe OldLipe assigned M3nin0 and unassigned gilbertocamara Jun 18, 2024
@OldLipe OldLipe added this to the version 1.5.1 milestone Jun 18, 2024
@gilbertocamara
Copy link
Contributor

Dear @EstefaPizarro You can now use both sf objects or POINT shapefiles as validation data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
sits-management
Awaiting triage
Development

No branches or pull requests

4 participants