AutoScore1.1.0 package

An Interpretable Machine Learning-Based Automatic Clinical Score Generator

add_baseline

Internal Function: Add baselines after second-step logistic regression...

assign_score

Internal Function: Automatically assign scores to each subjects given ...

AutoScore_fine_tuning

AutoScore STEP(iv): Fine-tune the score by revising cut_vec with domai...

AutoScore_fine_tuning_Ordinal

AutoScore STEP(iv) for ordinal outcomes: Fine-tune the score by revisi...

AutoScore_fine_tuning_Survival

AutoScore STEP(iv) for survival outcomes: Fine-tune the score by revis...

AutoScore_parsimony

AutoScore STEP(ii): Select the best model with parsimony plot (AutoSco...

AutoScore_parsimony_Ordinal

AutoScore STEP(ii) for ordinal outcomes: Select the best model with pa...

AutoScore_parsimony_Survival

AutoScore STEP(ii) for survival outcomes: Select the best model with p...

AutoScore_rank

AutoScore STEP(i): Rank variables with machine learning (AutoScore Mod...

AutoScore_rank_Ordinal

AutoScore STEP (i) for ordinal outcomes: Generate variable ranking lis...

AutoScore_rank_Survival

AutoScore STEP (1) for survival outcomes: Generate variable ranking Li...

AutoScore_testing

AutoScore STEP(v): Evaluate the final score with ROC analysis (AutoSco...

AutoScore_testing_Ordinal

AutoScore STEP(v) for ordinal outcomes: Evaluate the final score (Auto...

AutoScore_testing_Survival

AutoScore STEP(v) for survival outcomes: Evaluate the final score with...

AutoScore_weighting

AutoScore STEP(iii): Generate the initial score with the final list of...

AutoScore_weighting_Ordinal

AutoScore STEP(iii) for ordinal outcomes: Generate the initial score w...

AutoScore_weighting_Survival

AutoScore STEP(iii) for survival outcomes: Generate the initial score ...

change_reference

Internal Function: Change Reference category after first-step logistic...

check_data

AutoScore function for datasets with binary outcomes: Check whether th...

check_data_ordinal

AutoScore function for ordinal outcomes: Check whether the input datas...

check_data_survival

AutoScore function for survival data: Check whether the input dataset ...

check_link

Internal function: Check link function

check_predictor

Internal function: Check predictors

compute_auc_val

Internal function: Compute AUC based on validation set for plotting pa...

compute_auc_val_ord

Internal function: Compute mean AUC for ordinal outcomes based on vali...

compute_auc_val_survival

Internal function for survival outcomes: Compute AUC based on validati...

compute_descriptive_table

AutoScore function: Descriptive Analysis

compute_final_score_ord

Internal function: Compute risk scores for ordinal data given variable...

compute_mauc_ord

Internal function: Compute mAUC for ordinal predictions

compute_multi_variable_table

AutoScore function: Multivariate Analysis

compute_multi_variable_table_ordinal

AutoScore-Ordinal function: Multivariate Analysis

compute_multi_variable_table_survival

AutoScore function for survival outcomes: Multivariate Analysis

compute_prob_observed

Internal function: Based on given labels and scores, compute proportio...

compute_prob_predicted

Internal function: Based on given labels and scores, compute average p...

compute_score_table

Internal function: Compute scoring table based on training dataset (Au...

compute_score_table_ord

Internal function: Compute scoring table for ordinal outcomes based on...

compute_score_table_survival

Internal function: Compute scoring table for survival outcomes based o...

compute_uni_variable_table

AutoScore function: Univariable Analysis

compute_uni_variable_table_ordinal

AutoScore-Ordinal function: Univariable Analysis

compute_uni_variable_table_survival

AutoScore function for survival outcomes: Univariate Analysis

conversion_table

AutoScore function: Print conversion table based on final performance ...

conversion_table_ordinal

AutoScore function: Print conversion table for ordinal outcomes to map...

conversion_table_survival

AutoScore function for survival outcomes: Print conversion table

estimate_p_mat

Internal function: generate probability matrix for ordinal outcomes gi...

eva_performance_iauc

Internal function survival outcome: Calculate iAUC for validation set

evaluate_model_ord

Internal function: Evaluate model performance on ordinal data

extract_or_ci_ord

Extract OR, CI and p-value from a proportional odds model

find_one_inds

Internal function: Find column indices in design matrix that should be...

find_possible_scores

Internal function: Compute all scores attainable.

get_cut_vec

Internal function: Calculate cut_vec from the training set (AutoScore ...

group_score

Internal function: Group scores based on given score breaks, and use f...

induce_informative_missing

Internal function: induce informative missing to sample data in the pa...

induce_median_missing

Internal function: induce informative missing in a single variable

inv_cloglog

Internal function: Inverse cloglog link

inv_logit

Internal function: Inverse logit link

inv_probit

Internal function: Inverse probit link

make_design_mat

Internal function: Based on find_one_inds, make a design matrix to c...

plot_auc

Internal function: Make parsimony plot

plot_importance

Internal Function: Print plotted variable importance

plot_predicted_risk

AutoScore function for binary and ordinal outcomes: Plot predicted ris...

plot_roc_curve

Internal Function: Plotting ROC curve

plot_survival_km

AutoScore function for survival outcomes: Print scoring performance (K...

print_performance_ci_survival

AutoScore function for survival outcomes: Print predictive performance...

print_performance_ordinal

AutoScore function for ordinal outcomes: Print predictive performance

print_performance_survival

AutoScore function for survival outcomes: Print predictive performance

print_roc_performance

AutoScore function: Print receiver operating characteristic (ROC) perf...

print_scoring_table

AutoScore Function: Print scoring tables for visualization

split_data

AutoScore Function: Automatically splitting dataset to train, validati...

transform_df_fixed

Internal function: Categorizing continuous variables based on cut_vec ...

A novel interpretable machine learning-based framework to automate the development of a clinical scoring model for predefined outcomes. Our novel framework consists of six modules: variable ranking with machine learning, variable transformation, score derivation, model selection, domain knowledge-based score fine-tuning, and performance evaluation.The details are described in our research paper<doi:10.2196/21798>. Users or clinicians could seamlessly generate parsimonious sparse-score risk models (i.e., risk scores), which can be easily implemented and validated in clinical practice. We hope to see its application in various medical case studies.

  • Maintainer: Feng Xie
  • License: GPL (>= 2)
  • Last published: 2025-08-01