Skip to content

carloslihu/spbnclassify

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn

spbnclassify

A powerful Python package built on top of PyBNesian that provides comprehensive tools for learning and performing inference with Semiparametric Bayesian Network Classifiers. Designed for researchers and practitioners in machine learning, spbnclassify enables flexible probabilistic classification by combining the interpretability of Bayesian networks with the modeling power of parametric and nonparametric variables.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

The Semiparametric Bayesian Network Classifier family is a novel framework combining parametric and nonparametric components to achieve an optimal balance between classification performance and computational efficiency.

SP-BNC diagram

A research article describing the methodology and experimental results is currently under review. Detailed results showing the average and standard deviation for each model and dataset presented in the article can be found here.

(back to top)

Built With

  • Python

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

Installation

  1. Clone the repo
    git clone https://github.com/carloslihu/spbnclassify.git
  2. Install NPM packages
    pip install -r requirements.txt

(back to top)

Usage

# To execute the experiments and obtain the results
cd src
bash full-grid-search.sh

# To obtain the aggregated results and comparisons
python compare_models.py

(back to top)

Roadmap

  • Gaussian Bayesian Network Classifiers
  • KDE Bayesian Network Classifiers
  • Semiparametric Bayesian Network Classifiers
  • Discrete Bayesian Network Classifiers
  • Make the package pip-installable
  • Improve documentation

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Carlos Li Hu - GitHub profile - carloslihu96@gmail.com

Project Link: https://github.com/carloslihu/spbnclassify

(back to top)

(back to top)

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors