Learn R Programming

bbl (version 0.1.5)

bbl-package: bbl: Boltzmann Bayes Learner

Description

Supervised learning using Boltzmann Bayes model inference, which extends naive Bayes model to include interactions. Enables classification of data into multiple response groups based on a large number of discrete predictors that can take factor values of heterogeneous levels. Either pseudo-likelihood and mean field inference can be used with L2 regularization, cross-validation, and prediction on new data. Woo et al. (2016) <doi:10.1186/s12864-016-2871-3>.

Arguments

Details

A typical workflow consists of the following steps:

  1. Set up bbl object. Prepare a data frame containing data to be used as training set. Create a main object using data as input argument (bbl).

  2. Train the model. See train. Perform cross-validation (crossval) to optimize regularization.

  3. Make prediction on new data. See predict.