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 show_omitted for "spcv_buffer" #228

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Add show_omitted for "spcv_buffer" #228

merged 2 commits into from
Aug 15, 2023

Conversation

pat-s
Copy link
Member

@pat-s pat-s commented Aug 15, 2023

library(mlr3)
library(mlr3spatiotempcv)
task <- tsk("ecuador")
resampling <- rsmp("spcv_buffer", theRange = 1000)
resampling$instantiate(task)

## single fold
autoplot(resampling, task, fold_id = 1, show_omitted = TRUE) +
  ggplot2::scale_x_continuous(breaks = seq(-79.085, -79.055, 0.01))

Created on 2023-08-15 with reprex v2.0.2

@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2023

Codecov Report

Merging #228 (4667620) into main (120e01b) will decrease coverage by 0.04%.
The diff coverage is 50.00%.

❗ Current head 4667620 differs from pull request most recent head 2f222bd. Consider uploading reports for the commit 2f222bd to get more accurate results

@@            Coverage Diff             @@
##             main     #228      +/-   ##
==========================================
- Coverage   79.00%   78.97%   -0.04%     
==========================================
  Files          29       29              
  Lines        2020     2021       +1     
==========================================
  Hits         1596     1596              
- Misses        424      425       +1     
Files Changed Coverage Δ
R/helper_autoplot.R 88.37% <0.00%> (-2.11%) ⬇️
R/autoplot.R 42.12% <100.00%> (ø)

@pat-s pat-s merged commit d8b5d12 into main Aug 15, 2023
1 of 2 checks passed
@pat-s pat-s deleted the spcv_buffer_omitted branch August 15, 2023 13:57
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.

2 participants