Skip to content

juliancabezas/deep_learning_perceptron

Repository files navigation

Assignment 1, Deep Learning Fundamentals, 2020

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)

Environment

This repo was tested under a Linux 64 bit OS, using Python 3.8.5

How to run this repo

In order to use this repo:

  1. Clone or download this repo
git clone https://github.com/juliancabezas/deep_learning_perceptron.git
  1. Install Miniconda or Anaconda
  2. 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
  1. Activate the conda environment
conda activate perceptron
  1. 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