Classification with Naive Bayes

Algorithm Description

Check here for a presentation on the algorithm and the relevant info.

Example 1 - Categorical Data

Dataset

The dataset of this example can be downloaded here. Save the dataset in a folder and let’s start coding.

Solution

Click here to download the solution to this example problem.

Example 2 - Numerical Data

Dataset

The dataset of this example can be downloaded here. Save the dataset in a folder and let’s start coding.

Solution

Click here to download the solution to this example problem.