Package: yardstick 1.4.0.9000

yardstick: Tidy Characterizations of Model Performance
Tidy tools for quantifying how well model fits to a data set such as confusion matrices, class probability curve summaries, and regression metrics (e.g., RMSE).
Authors:
yardstick_1.4.0.9000.tar.gz
yardstick_1.4.0.9000.zip(r-4.7)yardstick_1.4.0.9000.zip(r-4.6)yardstick_1.4.0.9000.zip(r-4.5)
yardstick_1.4.0.9000.tgz(r-4.6-x86_64)yardstick_1.4.0.9000.tgz(r-4.6-arm64)yardstick_1.4.0.9000.tgz(r-4.5-x86_64)yardstick_1.4.0.9000.tgz(r-4.5-arm64)
yardstick_1.4.0.9000.tar.gz(r-4.7-arm64)yardstick_1.4.0.9000.tar.gz(r-4.7-x86_64)yardstick_1.4.0.9000.tar.gz(r-4.6-arm64)yardstick_1.4.0.9000.tar.gz(r-4.6-x86_64)
yardstick_1.4.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
yardstick/json (API)
| # Install 'yardstick' in R: |
| install.packages('yardstick', repos = c('https://tidymodels.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tidymodels/yardstick/issues
Pkgdown/docs site:https://yardstick.tidymodels.org
- hpc_cv - Multiclass Probability Predictions
- lung_surv - Survival Analysis Results
- pathology - Liver Pathology Data
- solubility_test - Solubility Predictions from MARS Model
- two_class_example - Two Class Predictions
Last updated from:fa91f90cdd. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 215 | ||
| linux-devel-x86_64 | OK | 230 | ||
| source / vignettes | OK | 240 | ||
| linux-release-arm64 | OK | 225 | ||
| linux-release-x86_64 | OK | 216 | ||
| macos-release-arm64 | OK | 142 | ||
| macos-release-x86_64 | OK | 288 | ||
| macos-oldrel-arm64 | OK | 150 | ||
| macos-oldrel-x86_64 | OK | 319 | ||
| windows-devel | OK | 189 | ||
| windows-release | OK | 183 | ||
| windows-oldrel | OK | 166 | ||
| wasm-release | OK | 169 |
Exports:accuracyaccuracy_vecaverage_precisionaverage_precision_vecbal_accuracybal_accuracy_vecbrier_classbrier_class_vecbrier_survivalbrier_survival_integratedbrier_survival_integrated_vecbrier_survival_veccccccc_veccheck_class_metriccheck_dynamic_survival_metriccheck_linear_pred_survival_metriccheck_numeric_metriccheck_ordered_prob_metriccheck_prob_metriccheck_quantile_metriccheck_static_survival_metricclass_metric_summarizerclassification_costclassification_cost_vecconcordance_survivalconcordance_survival_vecconf_matcurve_metric_summarizercurve_survival_metric_summarizerdemographic_paritydetection_prevalencedetection_prevalence_vecdots_to_estimatedynamic_survival_metric_summarizerequal_opportunityequalized_oddsf_measf_meas_vecfall_outfall_out_vecfinalize_estimatorfinalize_estimator_internalgain_capturegain_capture_vecgain_curveget_metricsget_weightsgini_coefgini_coef_vechuber_losshuber_loss_pseudohuber_loss_pseudo_vechuber_loss_veciiciic_vecj_indexj_index_veckapkap_veclift_curvelinear_pred_survival_metric_summarizermaemae_vecmapemape_vecmarkednessmarkedness_vecmasemase_vecmccmcc_vecmetric_setmetric_summarizermetric_tweakmetric_vec_templatemetricsmiss_ratemiss_rate_vecmn_log_lossmn_log_loss_vecmpempe_vecmsdmsd_vecmsemse_vecnew_class_metricnew_dynamic_survival_metricnew_groupwise_metricnew_integrated_survival_metricnew_linear_pred_survival_metricnew_numeric_metricnew_ordered_prob_metricnew_prob_metricnew_quantile_metricnew_static_survival_metricnpvnpv_vecnumeric_metric_summarizerordered_prob_metric_summarizerpoisson_log_losspoisson_log_loss_vecppvppv_vecpr_aucpr_auc_vecpr_curveprecisionprecision_vecprob_metric_summarizerquantile_metric_summarizerranked_prob_scoreranked_prob_score_vecrecallrecall_vecrmsermse_relativermse_relative_vecrmse_vecroc_aucroc_auc_survivalroc_auc_survival_vecroc_auc_vecroc_aunproc_aunp_vecroc_aunuroc_aunu_vecroc_curveroc_curve_survivalroc_distroc_dist_vecroyston_survivalroyston_survival_vecrpdrpd_vecrpiqrpiq_vecrsqrsq_tradrsq_trad_vecrsq_vecsedisedi_vecsenssens_vecsensitivitysensitivity_vecsmapesmape_vecspecspec_vecspecificityspecificity_vecstatic_survival_metric_summarizertidyvalidate_estimatorweighted_interval_scoreweighted_interval_score_vecyardstick_any_missingyardstick_remove_missing
Dependencies:clidplyrgenericsgluehardhatlifecyclemagrittrpillarpkgconfigR6rlangsparsevctrstibbletidyselectutf8vctrswithr
Last update: 2026-01-16
Started: 2018-11-01
Last update: 2025-04-24
Started: 2023-11-02
Last update: 2025-04-24
Started: 2018-11-01
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Accuracy | accuracy accuracy.data.frame accuracy_vec |
| Area under the precision recall curve | average_precision average_precision.data.frame average_precision_vec |
| Balanced accuracy | bal_accuracy bal_accuracy.data.frame bal_accuracy_vec |
| Brier score for classification models | brier_class brier_class.data.frame brier_class_vec |
| Time-Dependent Brier score for right censored data | brier_survival brier_survival.data.frame brier_survival_vec |
| Integrated Brier score for right censored data | brier_survival_integrated brier_survival_integrated.data.frame brier_survival_integrated_vec |
| Concordance correlation coefficient | ccc ccc.data.frame ccc_vec |
| Developer function for checking inputs in new metrics | check_class_metric check_dynamic_survival_metric check_linear_pred_survival_metric check_metric check_numeric_metric check_ordered_prob_metric check_prob_metric check_quantile_metric check_static_survival_metric |
| Costs function for poor classification | classification_cost classification_cost.data.frame classification_cost_vec |
| Concordance index for right-censored data | concordance_survival concordance_survival.data.frame concordance_survival_vec |
| Confusion Matrix for Categorical Data | conf_mat conf_mat.data.frame conf_mat.default conf_mat.table tidy.conf_mat |
| Demographic parity | demographic_parity |
| Detection prevalence | detection_prevalence detection_prevalence.data.frame detection_prevalence_vec |
| Developer helpers | developer-helpers dots_to_estimate finalize_estimator finalize_estimator_internal get_weights validate_estimator |
| Equal opportunity | equal_opportunity |
| Equalized odds | equalized_odds |
| F Measure | f_meas f_meas.data.frame f_meas_vec |
| Fall-out (False Positive Rate) | fall_out fall_out.data.frame fall_out_vec |
| Gain capture | gain_capture gain_capture.data.frame gain_capture_vec |
| Gain curve | gain_curve gain_curve.data.frame |
| Get all metrics of a given type | get_metrics |
| Normalized Gini coefficient | gini_coef gini_coef.data.frame gini_coef_vec |
| Multiclass Probability Predictions | hpc_cv |
| Huber loss | huber_loss huber_loss.data.frame huber_loss_vec |
| Psuedo-Huber Loss | huber_loss_pseudo huber_loss_pseudo.data.frame huber_loss_pseudo_vec |
| Index of ideality of correlation | iic iic.data.frame iic_vec |
| J-index | j_index j_index.data.frame j_index_vec |
| Kappa | kap kap.data.frame kap_vec |
| Lift curve | lift_curve lift_curve.data.frame |
| Survival Analysis Results | lung_surv |
| Mean absolute error | mae mae.data.frame mae_vec |
| Mean absolute percent error | mape mape.data.frame mape_vec |
| Markedness | markedness markedness.data.frame markedness_vec |
| Mean absolute scaled error | mase mase.data.frame mase_vec |
| Matthews correlation coefficient | mcc mcc.data.frame mcc_vec |
| Combine metric functions | metric_set |
| Tweak a metric function | metric_tweak |
| Developer function for summarizing new metrics | class_metric_summarizer curve_metric_summarizer curve_survival_metric_summarizer dynamic_survival_metric_summarizer linear_pred_survival_metric_summarizer metric-summarizers numeric_metric_summarizer ordered_prob_metric_summarizer prob_metric_summarizer quantile_metric_summarizer static_survival_metric_summarizer |
| General Function to Estimate Performance | metrics metrics.data.frame |
| Miss rate (False Negative Rate) | miss_rate miss_rate.data.frame miss_rate_vec |
| Mean log loss for multinomial data | mn_log_loss mn_log_loss.data.frame mn_log_loss_vec |
| Mean percentage error | mpe mpe.data.frame mpe_vec |
| Mean signed deviation | msd msd.data.frame msd_vec |
| Mean squared error | mse mse.data.frame mse_vec |
| Create groupwise metrics | new_groupwise_metric |
| Construct a new metric function | new-metric new_class_metric new_dynamic_survival_metric new_integrated_survival_metric new_linear_pred_survival_metric new_numeric_metric new_ordered_prob_metric new_prob_metric new_quantile_metric new_static_survival_metric |
| Negative predictive value | npv npv.data.frame npv_vec |
| Liver Pathology Data | pathology |
| Mean log loss for Poisson data | poisson_log_loss poisson_log_loss.data.frame poisson_log_loss_vec |
| Positive predictive value | ppv ppv.data.frame ppv_vec |
| Area under the precision recall curve | pr_auc pr_auc.data.frame pr_auc_vec |
| Precision recall curve | pr_curve pr_curve.data.frame |
| Precision | precision precision.data.frame precision_vec |
| Ranked probability scores for ordinal classification models | ranked_prob_score ranked_prob_score.data.frame ranked_prob_score_vec |
| Recall | recall recall.data.frame recall_vec |
| Root mean squared error | rmse rmse.data.frame rmse_vec |
| Relative root mean squared error | rmse_relative rmse_relative.data.frame rmse_relative_vec |
| Area under the receiver operator curve | roc_auc roc_auc.data.frame roc_auc_vec |
| Time-Dependent ROC AUC for Censored Data | roc_auc_survival roc_auc_survival.data.frame roc_auc_survival_vec |
| Area under the ROC curve of each class against the rest, using the a priori class distribution | roc_aunp roc_aunp.data.frame roc_aunp_vec |
| Area under the ROC curve of each class against the rest, using the uniform class distribution | roc_aunu roc_aunu.data.frame roc_aunu_vec |
| Receiver operator curve | roc_curve roc_curve.data.frame |
| Time-Dependent ROC surve for Censored Data | roc_curve_survival roc_curve_survival.data.frame |
| Distance to ROC corner | roc_dist roc_dist.data.frame roc_dist_vec |
| Royston-Sauerbei D statistic | royston_survival royston_survival.data.frame royston_survival_vec |
| Ratio of performance to deviation | rpd rpd.data.frame rpd_vec |
| Ratio of performance to inter-quartile | rpiq rpiq.data.frame rpiq_vec |
| R squared | rsq rsq.data.frame rsq_vec |
| R squared - traditional | rsq_trad rsq_trad.data.frame rsq_trad_vec |
| Symmetric Extremal Dependence Index | sedi sedi.data.frame sedi_vec |
| Sensitivity | sens sens.data.frame sensitivity sensitivity.data.frame sensitivity_vec sens_vec |
| Symmetric mean absolute percentage error | smape smape.data.frame smape_vec |
| Solubility Predictions from MARS Model | solubility_test |
| Specificity | spec spec.data.frame specificity specificity.data.frame specificity_vec spec_vec |
| Summary Statistics for Confusion Matrices | summary.conf_mat |
| Two Class Predictions | two_class_example |
| Compute weighted interval score | weighted_interval_score weighted_interval_score.data.frame weighted_interval_score_vec |
| Developer function for handling missing values in new metrics | yardstick_any_missing yardstick_remove_missing |
