Skip to content

Jupyter Notebook featuring hands-on exercises centered around Bayesian networks and Bayesian classifiers.

License

Notifications You must be signed in to change notification settings

FernandoSchett/bayesian_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 Bayesian Classifier 📁

Developed by 💻:

About 🤔:

This repository contains a comprehensive Jupyter Notebook with two practical exercises focused on Bayesian networks and Bayesian classifiers. The primary aim of this project is to facilitate learning the fundamental principles of Bayes' Theorem, Bayesian classification, and probability theory based on this theorem.

Resourses 🧑‍🔬:

  • Bayesian Networks Practice: introduces the concept of Bayesian networks, a powerful tool for modeling uncertainty and dependencies among variables. The tutorial uses an orange farm scenario to demonstrate how Bayesian networks can be applied in different scenarios.

  • Bayesian Classifier Practice: Through the lens of an orange farm, we explore how to build a simple yet effective Bayesian classifier to predict potential diseases in orange trees based on observable symptoms and environmental conditions.

  • Orange farm dataset: A dataset specific to the orange farm, providing the necessary information for conducting the practical exercises.

Dependencies 🚚:

The project dependencies are described in ./dependencies/requirements. within the repository. In summary, heres what you're gonna need in order to run the project:

For installing dependencies more quickly, you can run the following command at terminal, inside the clonned repository:

sudo apt update && sudo apt install python3 python3-pip
pip3 install -r ./dependencies/requirements.txt

Make sure you have all dependencies before running the project.

How to run it 🏃:

First, clone this repository. After that, simply execute the bayesian_classification,ipynb file with the command:

jupyter notebook bayesian_classification.ipynb

Results 📈:

Figure 1 - Bayesian Network from Protect the Oranges!

Figure 2 - Correlation Matriz from Orange Plague.

Figure 3 - Accuracy from Bayesian Classifier.

Tools Used 🛠️:

How to contribute 🫂:

Feel free to create a new branch, fork the project, create a new Issue or make a pull request contact one of us to develop at Bayesian Classifier practices.

Licence 📜:

Apache V2

Important links 🔗:

About

Jupyter Notebook featuring hands-on exercises centered around Bayesian networks and Bayesian classifiers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published