Semiparametric Bayesian Networks

David Atienza, Concha Bielza, Pedro Larrañaga
9/7/2021
37 citations
cs.LGstat.ML
bayesian

Official code: davenza/PyBNesian (50 stars, C++, MIT, last commit 2025-08-12). 1 more implementation below.

Abstract

We introduce semiparametric Bayesian networks that combine parametric and nonparametric conditional probability distributions. Their aim is to incorporate the advantages of both components: the bounded complexity of parametric models and the flexibility of nonparametric ones.

Show full abstract

We demonstrate that semiparametric Bayesian networks generalize two well-known types of Bayesian networks: Gaussian Bayesian networks and kernel density estimation Bayesian networks. For this purpose, we consider two different conditional probability distributions required in a semiparametric Bayesian network. In addition, we present modifications of two well-known algorithms (greedy hill-climbing and PC) to learn the structure of a semiparametric Bayesian network from data. To realize this, we employ a score function based on cross-validation. In addition, using a validation dataset, we apply an early-stopping criterion to avoid overfitting. To evaluate the applicability of the proposed algorithm, we conduct an exhaustive experiment on synthetic data sampled by mixing linear and nonlinear functions, multivariate normal data sampled from Gaussian Bayesian networks, real data from the UCI repository, and bearings degradation data. As a result of this experiment, we conclude that the proposed algorithm accurately learns the combination of parametric and nonparametric components, while achieving a performance comparable with those provided by state-of-the-art methods.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
davenza/PyBNesianOfficial50C++MIT2025-08-12
davenza/SPBN-ExperimentsOfficial3Python–2021-09-01
davenza/PyBNesianOfficial100%
MIT

PyBNesian is a Python package that implements Bayesian networks.

5013C++, FortranApr 29, 20201 years agoMIT
bayesian-networkskernel-density-estimationpython

This repository contains the experiments for "Semiparametric Bayesian Networks."

32Python, ScilabJan 27, 20205 years ago

Similar Papers

Cite this paper

@article{atienza2021semiparametric,
  title  = {Semiparametric Bayesian Networks},
  author = {David Atienza and Concha Bielza and Pedro Larrañaga},
  year   = {2021},
  eprint = {2109.03008},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03008}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.03008.svg)](https://codeofpaper.com/paper/2109.03008)

Discussion