Description Usage Arguments Value
View source: R/distributions.R
Construct a data frame with posterior class probabilities and the optimal decision boundary over a grid on the feature space
1 2 3 4 5 6 7 8 9 10 11 12 | new_density_mvn(
mu_0,
sigma_0,
mu_1,
sigma_1,
p_0,
x_min,
x_max,
y_min,
y_max,
delta = 0.05
)
|
mu_0 |
vector: the mean vector of the first class |
sigma_0 |
matrix: the 2x2 covariance matrix of the first class |
mu_1 |
vector: the mean vector of the second class |
sigma_1 |
matrix: the 2x2 covariance matrix of the second class |
p_0 |
double: the prior probability of class 0 |
a DensityFrame object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.