Man pages for adrianmarino/commons
commons

aucGet ROC AUC
cat_varsGet categorical column names.
c_mGet confusion matrix
fbeta_scoreGet F Beta Score
featuresReturns datafram e features.
features_importanceGet features importance from a dataframe for a give target...
find_high_correlated_columnsGet a list of high correlated features.
fnGet false negatives count.
fpGet false positives count.
get_global_var_valueGet a global variable value
importAllows load a script file under global context.
index_as_columnAdd index as another regular data frame column
load_df_from_csvLoad a csv file ito a data.frame
num_varsGet numneric column names.
pcaPerform a PCA rebust analisys un er a input data frame.
plot_cmPlot confusion matrix
plot_features_importancePlot a fearures importance result.
plot_pcaPlot a PCA analisys into a biplot.
plot_rocPlot ROC
rocGet ROC
set_global_var_valueCreates a variable under scope global
targetReturns a data frame with the target column.
target_arrayReturns target column values as array.
tnGet true negatives count.
top_acc_featuresReturns top K more important features.
tpGet true positives count.
train_test_splitMakes a train test split. It Also makes a suffle by default.
adrianmarino/commons documentation built on Dec. 18, 2021, 10:30 p.m.