new_density_mix: Construct a dataframe with posterior class probabilities and...

Description Usage Arguments

View source: R/distributions.R

Description

Construct a dataframe with posterior class probabilities and the optimal decision boundary over a grid on the feature space

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
new_density_mix(
  mu_0,
  sigma_0,
  w_0,
  mu_1,
  sigma_1,
  w_1,
  p_0,
  x_min,
  x_max,
  y_min,
  y_max,
  delta = 0.05
)

Arguments

mu_0

numeric: the average mean of the components of the first feature

sigma_0

matrix: covariance of components of the first feature

w_0

numeric: vector of weights for components of the first feature

mu_1

numeric: the average mean of the components of the second feature

sigma_1

matrix: covariance of components of the second feature

w_1

numeric: vector of weights for components of the second feature

p_0

double: the prior probability of class 0


ryanholbrook/mlanimate documentation built on March 16, 2020, 4:34 p.m.