Julian Cabezas Pena, Student ID: a1785086
Python implementation of a single layer perceptron and a multi later perceptron from scrach, and comparison with Support Vector MAchine and Random Forest algorithms
Testing using the PIMA Indians Diabetes Dataset [link to Kaggle] (https://www.kaggle.com/uciml/pima-indians-diabetes-database)
This repo was tested under a Linux 64 bit OS, using Python 3.8.5
In order to use this repo:
- Clone or download this repo
git clone https://github.com/juliancabezas/deep_learning_perceptron.git
- Install Miniconda or Anaconda
- Create a environment using the perceptron.yml file included in this repo, using the following command (inside conda or bash)
conda env create -f perceptron.yml --name perceptron
- Activate the conda environment
conda activate perceptron
- Run each specific file in yout IDE of preference, (I recommend VS Code with the Python extension), using the root folder of the directory as working directory to make the relative paths work.
Each file contains the workflow for each algorithm (Perceptron, Multilayer Perceptron, Random forest, Support Vector Machine)
- Alternatevely, you can build your own environment following the package version contained in requeriments.tx