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

- Add ResamplingSpCVDisc #115

Merged
merged 6 commits into from Apr 11, 2021
Merged

- Add ResamplingSpCVDisc #115

merged 6 commits into from Apr 11, 2021

Conversation

pat-s
Copy link
Member

@pat-s pat-s commented Apr 10, 2021

fixes #114

cc @alexanderbrenning

Adds

  • ResamplingSpCVDisc
  • ResamplingRepeatedSpCVDisc
  • autoplot.ResamplingSpCVDisc
  • autoplot.ResamplingRepeatedSpCVDisc

and also the respective plot() generics.

library(mlr3)
library(mlr3spatiotempcv)

task <- tsk("ecuador")
rsp <- rsmp("repeated_spcv_disc",
  folds = 4, radius = 200, buffer = 200,
  repeats = 2
)
rsp$instantiate(task)

autoplot(rsp, task, 1, crs = 4326, show_omitted = TRUE)

Created on 2021-04-11 by the reprex package (v1.0.0)

@pat-s pat-s marked this pull request as ready for review April 11, 2021 18:12
@pat-s pat-s changed the title Add ResamplingSpCVDisc - Add ResamplingSpCVDisc Apr 11, 2021
@pat-s pat-s merged commit c1e0200 into main Apr 11, 2021
@pat-s pat-s deleted the partition-disc branch April 11, 2021 18:12
pat-s added a commit that referenced this pull request Jun 17, 2022
pat-s added a commit that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add partition.disc method from {sperrorest}
1 participant