as.binary() is.binary() try_binary()
as.binary()
is.binary()
try_binary()
Work with Binary Columns
confusion_matrix()
Confusion Matrix Metrics
mean_harmonic() mean_geometric()
mean_harmonic()
mean_geometric()
Different Means
se() ci() sum_of_squares() cv() cqv() mse() mape() rmse() mae() z_score() midhinge() ewma() rr_ewma() normalise() normalize() scale_sd() centre_mean() percentiles() deciles()
se()
ci()
sum_of_squares()
cv()
cqv()
mse()
mape()
rmse()
mae()
z_score()
midhinge()
ewma()
rr_ewma()
normalise()
normalize()
scale_sd()
centre_mean()
percentiles()
deciles()
Distribution Metrics
early_warning_biomarker()
Early Warning for Biomarkers
early_warning_cluster() n_clusters() has_clusters() has_ongoing_cluster() has_cluster_before() has_cluster_after()
early_warning_cluster()
n_clusters()
has_clusters()
has_ongoing_cluster()
has_cluster_before()
has_cluster_after()
Early Warning for Disease Clusters
esbl_tests
Example Data Set with ESBL Test Outcomes
impute() is_imputed() get_mice()
impute()
is_imputed()
get_mice()
Impute: Filling Missing Values
ml_xg_boost() ml_decision_trees() ml_random_forest() ml_neural_network() ml_nearest_neighbour() ml_linear_regression() ml_logistic_regression() confusion_matrix(<certestats_ml>) predict(<certestats_ml>) apply_model_to() feature_importances() feature_importance_plot() roc_plot() gain_plot() tree_plot() correlation_plot() get_metrics() get_accuracy() get_kappa() get_recipe() get_specification() get_rows_testing() get_rows_training() get_original_data() get_roc_data() get_coefficients() get_model_variables() get_variable_weights() tune_parameters() check_testing_predictions() autoplot(<certestats_ml>) autoplot(<certestats_feature_importances>) autoplot(<certestats_tuning>)
ml_xg_boost()
ml_decision_trees()
ml_random_forest()
ml_neural_network()
ml_nearest_neighbour()
ml_linear_regression()
ml_logistic_regression()
confusion_matrix(<certestats_ml>)
predict(<certestats_ml>)
apply_model_to()
feature_importances()
feature_importance_plot()
roc_plot()
gain_plot()
tree_plot()
correlation_plot()
get_metrics()
get_accuracy()
get_kappa()
get_recipe()
get_specification()
get_rows_testing()
get_rows_training()
get_original_data()
get_roc_data()
get_coefficients()
get_model_variables()
get_variable_weights()
tune_parameters()
check_testing_predictions()
autoplot(<certestats_ml>)
autoplot(<certestats_feature_importances>)
autoplot(<certestats_tuning>)
Create a Machine Learning (ML) Model
any() all() mean() sum() prod() min() max() pmin() pmax() range() sd() var() median() fivenum() quantile() IQR()
any()
all()
mean()
sum()
prod()
min()
max()
pmin()
pmax()
range()
sd()
var()
median()
fivenum()
quantile()
IQR()
Mathematical Functions With Global na.rm
na.rm
moving_average() moving_sum() moving_Q1() moving_Q3() moving_fn()
moving_average()
moving_sum()
moving_Q1()
moving_Q3()
moving_fn()
Moving Average
normality()
Normality Analysis
qc_rule1() qc_rule2() qc_rule3() qc_rule4() qc_rule5() qc_rule6() qc_rule7() qc_rule8() qc_rule_text() qc_test()
qc_rule1()
qc_rule2()
qc_rule3()
qc_rule4()
qc_rule5()
qc_rule6()
qc_rule7()
qc_rule8()
qc_rule_text()
qc_test()
Quality Control (QC) Rules
regression() plot(<certestats_reg>) autoplot(<certestats_reg>)
regression()
plot(<certestats_reg>)
autoplot(<certestats_reg>)
Fast Regression Models
remove_outliers()
Remove Outliers
row_function()
Apply Function per Row
weighted_mean() weighted_median() weighted_Q1() weighted_Q3() weighted_fn()
weighted_mean()
weighted_median()
weighted_Q1()
weighted_Q3()
weighted_fn()
Weighted Mean