Description Usage Arguments Value
2D projection of both the inputs and the posterior regions of classification.
Usefull to evaluate the corresponding binary outcomes.
Instead of plotting the corresponding conotur of the 3D function plotted by
plot_3D_proj
. The projection function is mapped to it's
corresponding binary output and plotted behind the regular data.
1 | plot_2D_proj(Y, X, bpwpm_params, n = 15, alpha = 0.6)
|
Y |
A response vector of size n |
X |
An input matrix of size n*2. |
bpwpm_params |
an object of the class bpwpm_params of bpwpm_prediction
created by the functions |
n |
Thinness of grid for 2D projection |
alpha |
numeric - level of transparency for 2D projection |
A ggplot2 scatter plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.