Description Usage Arguments Value Examples
View source: R/classification_error_function.R
Classification error calculator.
1 | classification_error(df1, df2, NA_positions)
|
df1 |
The original dataset that contains only true missing values, not introduced missing values. |
df2 |
The second dataset that has all missing values filled in. |
NA_positions |
The positions where we introduced NA in the original dataset. |
number of incorrectly classified individuals / total number of individuals
1 2 3 4 5 | data("SNP_orig_sub")
data("SNP_NA_df02")
df_fill <- Impute_GenoType_XGBoost(SNP_NA_df02$SNP_NA_df)
NA_positions <- SNP_NA_df02$NP_generate_positions
classification_error(SNP_orig_sub, df_fill, NA_positions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.