Skip to content

Latest commit

 

History

History
92 lines (62 loc) · 3.81 KB

README.md

File metadata and controls

92 lines (62 loc) · 3.81 KB

📁 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 🔗: