Description Usage Arguments Value References Examples
The Bayesian Information Criterion's objective is to prevent model overfitting by adding a penalty term which penalizes more complex models. Its formal definition is:
-2*ln(L)+ln(n)*k
where L is the maximized value of the likelihood function. A smaller BIC value suggests that the model is a better fit for the data.
1  | 
model | 
 A base R model object (e.g.,   | 
X | 
 Validation data as a 2D matrix of (observations, features).
If   | 
y | 
 True labels as a 1D vector.
If   | 
BIC value gets returned as a float.
https://en.wikipedia.org/wiki/Bayesian_information_criterion
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.