-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for no groups and multiple configurations (#96)
* plot changes for #92 * add groups to estimate function * Revert "add groups to estimate function" This reverts commit 558fa43. * tuning the quosure code and update tests * update with new pillar
- Loading branch information
Showing
7 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,48 @@ | ||
# Binary breaks functions work | ||
|
||
Code | ||
testthat_cal_binary() %>% tune::collect_predictions() %>% cal_plot_breaks(class, | ||
estimate = .pred_class_1) | ||
Condition | ||
Error: | ||
! The data have several values of '.config' but no 'groups' argument was passed. This will inappropriately pool the data. | ||
|
||
# Multi-class breaks functions work | ||
|
||
Code | ||
testthat_cal_multiclass() %>% tune::collect_predictions() %>% cal_plot_breaks( | ||
class, estimate = .pred_class_1) | ||
Condition | ||
Error: | ||
! The data have several values of '.config' but no 'groups' argument was passed. This will inappropriately pool the data. | ||
|
||
# Binary logistic functions work | ||
|
||
Code | ||
testthat_cal_binary() %>% tune::collect_predictions() %>% cal_plot_logistic( | ||
class, estimate = .pred_class_1) | ||
Condition | ||
Error: | ||
! The data have several values of '.config' but no 'groups' argument was passed. This will inappropriately pool the data. | ||
|
||
# Binary windowed functions work | ||
|
||
Code | ||
testthat_cal_binary() %>% tune::collect_predictions() %>% cal_plot_windowed( | ||
class, estimate = .pred_class_1) | ||
Condition | ||
Error: | ||
! The data have several values of '.config' but no 'groups' argument was passed. This will inappropriately pool the data. | ||
|
||
# Event level handling works | ||
|
||
Invalid event_level entry: invalid. Valid entries are 'first', 'second', or 'auto' | ||
|
||
# regression functions work | ||
|
||
Code | ||
obj %>% tune::collect_predictions() %>% cal_plot_windowed(outcome, estimate = .pred) | ||
Condition | ||
Error: | ||
! The data have several values of '.config' but no 'groups' argument was passed. This will inappropriately pool the data. | ||
|
This file contains 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