uriahf / rtichoke_docker

0 stars 0 forks source link

Write for each function in rtichoke the same function for plumber api #2

Open uriahf opened 1 year ago

uriahf commented 1 year ago

Write new logic for stratification with lists, not data frames.

Prob. Threshold / PPCR

uriahf commented 1 year ago

Naming Convention: besides create_summary_report() all the post endpoints will be called by the original function with the suffix "lift": plot_roc_curve() -> plot_roc_curve_list(). This convention indicates that the api returns a json array and not a plot, but the suffix indicates that the inputs are identical to the functions in the original rtichoke r package ("create"\"prepare" indicates probs and reals as input, "plot_" indicates performance data)

Discrimination:

ROC

Lift

Precision Recall

Gains

Calibration

Utility

Summary Report

Performance Data

uriahf commented 1 year ago

All the following inputs should be supported: