scikit-bayes#
Date: Nov 27, 2026 Version: 1.5.0
Useful links: Source Repository | Issues & Ideas | Installation | Tutorial | Citing | Changelog | Contributing | Related software
scikit-bayes adds Bayesian network classifiers to scikit-learn. Every model follows the scikit-learn estimator API and takes tables that mix continuous, categorical and binary attributes.
MixedNBandWeightedNB: Naive Bayes for continuous, categorical and binary attributes in one model, and its discriminatively weighted version (WANBIA / wCCBN).AnDE: Averaged n-Dependence Estimators (AODE, A2DE).AnJEandGaussianAnJE: Averaged n-Join Estimators.TANandKDB: a single network in which every attribute has one (TAN) or up to k (KDB) attribute parents.WeightedAnDE,ALR,GaussianALR,WeightedTANandWeightedKDB: weights learned discriminatively on top of the generative models.MDLPDiscretizerandDecisionTreeDiscretizer: supervised discretization of continuous attributes.
How each model is defined and estimated, and how to choose its parameters.
Car evaluations, a table of labels, from the DataFrame to the fitted network: model comparison, tuning, the learned structure against the known one, and evaluation.