Description Usage Arguments Value
Get a list of sampled dataframes of the original binary class dataframe split to get the specified true and contamination proportion between the 2 binary classes.
1 | get_split_clss(uci_dat, plt_vars, clss_vals, epsilon, tot_nrows_req)
|
uci_dat |
(dataframe) : Dataframe for the binary classification data |
plt_vars |
(character) : These are the 2 variables we will scatterplot User needs to ensure that the class variable is last in the vector i.e. the third value |
clss_vals |
(character) : These are the binary class variables values. The first element value is assumed to be the true class value and the second value is assumed to be the contamination class value |
epsilon |
(double) : The proportion of the contamination class value that we require in our final dataframe |
tot_nrows_req |
(integer) : The total number of observations we require in our final dataframe of true and contaminated proportions |
(dataframe) : Combined resampled dataframe of true and contamination classes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.