Nothing
Code
select_best(rcv_results, metric = "rsq", maximize = TRUE)
Condition
Warning:
The `maximize` argument is no longer needed. This value was ignored.
Output
# A tibble: 1 x 5
deg_free degree `wt df` `wt degree` .config
<int> <int> <int> <int> <chr>
1 10 2 2 2 Recipe24
Code
select_best(rcv_results, metric = "random")
Condition
Error in `get_metric_direction()`:
! Please check the value of `metric`.
Code
select_best(rcv_results, metric = c("rmse", "rsq"))
Condition
Error in `get_metric_direction()`:
! Please specify a single character value for `metric`.
Code
best_default_metric <- select_best(rcv_results)
Condition
Warning:
No value of `metric` was given; metric 'rmse' will be used.
Code
best_rmse <- select_best(rcv_results, metric = "rmse")
Code
select_best(mtcars, metric = "disp")
Condition
Error in `select_best()`:
! No `select_best()` exists for this type of object.
Code
best_default_metric <- show_best(rcv_results)
Condition
Warning:
No value of `metric` was given; metric 'rmse' will be used.
Code
best_rmse <- show_best(rcv_results, metric = "rmse")
Code
show_best(mtcars, metric = "disp")
Condition
Error in `show_best()`:
! No `show_best()` exists for this type of object.
Code
select_by_one_std_err(knn_results, metric = "accuracy", K, maximize = TRUE)
Condition
Warning:
The `maximize` argument is no longer needed. This value was ignored.
Output
# A tibble: 1 x 11
K weight_func exponent .metric .estimator mean n std_err .config .best .bound
<int> <chr> <dbl> <chr> <chr> <dbl> <int> <dbl> <chr> <dbl> <dbl>
1 25 rank 1.99 accuracy binary 0.819 50 0.00517 Model06 0.819 0.814
Code
select_by_one_std_err(rcv_results, metric = "random", deg_free)
Condition
Error in `get_metric_direction()`:
! Please check the value of `metric`.
Code
select_by_one_std_err(rcv_results, metric = c("rmse", "rsq"), deg_free)
Condition
Error in `get_metric_direction()`:
! Please specify a single character value for `metric`.
Code
select_via_default_metric <- select_by_one_std_err(knn_results, K)
Condition
Warning:
No value of `metric` was given; metric 'roc_auc' will be used.
Code
select_via_roc <- select_by_one_std_err(knn_results, K, metric = "roc_auc")
Code
select_by_one_std_err(rcv_results, metric = "random")
Condition
Error in `select_by_one_std_err()`:
! Please choose at least one tuning parameter to sort in `...`.
Code
select_by_one_std_err(mtcars, metric = "disp")
Condition
Error in `select_by_one_std_err()`:
! No `select_by_one_std_err()` exists for this type of object.
Code
select_by_one_std_err(knn_results, metric = "roc_auc", weight_funk)
Condition
Error in `select_by_one_std_err()`:
! Could not sort results by `weight_funk`.
Code
select_by_one_std_err(knn_results, metric = "roc_auc", weight_funk, K)
Condition
Error in `select_by_one_std_err()`:
! Could not sort results by `weight_funk`.
Code
select_by_one_std_err(knn_results, metric = "roc_auc", weight_funk, Kay)
Condition
Error in `select_by_one_std_err()`:
! Could not sort results by `weight_funk` and `Kay`.
Code
select_by_one_std_err(knn_results, metric = "roc_auc", weight_funk, desc(K))
Condition
Error in `select_by_one_std_err()`:
! Could not sort results by `weight_funk` and `desc(K)`.
Code
select_by_pct_loss(knn_results, metric = "accuracy", K, maximize = TRUE)
Condition
Warning:
The `maximize` argument is no longer needed. This value was ignored.
Output
# A tibble: 1 x 11
K weight_func exponent .metric .estimator mean n std_err .config .best .loss
<int> <chr> <dbl> <chr> <chr> <dbl> <int> <dbl> <chr> <dbl> <dbl>
1 12 epanechnikov 1.96 accuracy binary 0.806 50 0.00569 Model02 0.819 1.64
Code
select_by_pct_loss(rcv_results, metric = "random", deg_free)
Condition
Error in `get_metric_direction()`:
! Please check the value of `metric`.
Code
select_by_pct_loss(rcv_results, metric = c("rmse", "rsq"), deg_free)
Condition
Error in `get_metric_direction()`:
! Please specify a single character value for `metric`.
Code
select_via_default_metric <- select_by_pct_loss(knn_results, K)
Condition
Warning:
No value of `metric` was given; metric 'roc_auc' will be used.
Code
select_via_roc <- select_by_pct_loss(knn_results, K, metric = "roc_auc")
Code
select_by_pct_loss(rcv_results, metric = "random")
Condition
Error in `select_by_pct_loss()`:
! Please choose at least one tuning parameter to sort in `...`.
Code
select_by_pct_loss(mtcars, metric = "disp")
Condition
Error in `select_by_pct_loss()`:
! No `select_by_pct_loss()` exists for this type of object.
Code
select_by_pct_loss(knn_results, metric = "roc_auc", weight_funk)
Condition
Error in `select_by_pct_loss()`:
! Could not sort results by `weight_funk`.
Code
select_by_pct_loss(knn_results, metric = "roc_auc", weight_funk, K)
Condition
Error in `select_by_pct_loss()`:
! Could not sort results by `weight_funk`.
Code
select_by_pct_loss(knn_results, metric = "roc_auc", weight_funk, Kay)
Condition
Error in `select_by_pct_loss()`:
! Could not sort results by `weight_funk` and `Kay`.
Code
select_by_pct_loss(knn_results, metric = "roc_auc", weight_funk, desc(K))
Condition
Error in `select_by_pct_loss()`:
! Could not sort results by `weight_funk` and `desc(K)`.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.