Code Monkey home page Code Monkey logo

ygalvao / uow_ai_final_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13.36 MB

This was my Final Project for the Artificial Intelligence Diploma program of The University of Winnipeg - Professional, Applied and Continuing Education (PACE).

Home Page: https://galvao.ca/uow_ai_final_project/

License: MIT License

Jupyter Notebook 79.80% Python 0.01% Shell 0.01% HTML 20.19%
data-analysis data-analytics dbscan elections k-means k-means-clustering machine-learning som som-clustering

uow_ai_final_project's Introduction

Using Machine Learning to Analyze the 2nd Round of the 2022 Brazilian Presidential Election

Overview

The Jupyter Notebook in this repository is my Final Project for the Artificial Intelligence Diploma program of The University of Winnipeg - Professional, Applied and Continuing Education (PACE). The idea of this project is to extract the available data generated by the Electronic Voting Machines (EVM) that were used in the 2nd Round of the 2022 Brazilian Presidential Election, clean it, analyze it, and then use clustering models to find data patterns - especially hidden or non-intuitive patterns - and anomalies.

Prerequisites

  • Jupyter Notebook or JupyterLab
  • Python 3.7 or higher
  • Necessary Python packages (listed in requirements.txt)

Installation and Setup

  1. Clone the repository or download the Jupyter Notebook file.

  2. Install Jupyter Notebook or JupyterLab if you haven't already.

  3. Set up a Python environment and install the required packages using:

    pip install -r requirements.txt
  4. Open the Jupyter Notebook environment and navigate to the notebook file to begin your analysis.

Running the Notebook

To run the notebook:

  1. Open the Jupyter Notebook or JupyterLab.
  2. Navigate to the location of the using-ml-to-analyze-the-2022-brazilian-elections.ipynb file.
  3. Open the notebook and run the cells sequentially to perform the analysis.

PS.: in the Data Ingestion phase, item 2.2, there is a cell dedicated to run the "Bra Scraper 2022" which is essentially the web scraper bot that gets all the desired data of EVMs from the TSE website. If necessary, run it apart from the Notebook.

License

This project is licensed under the MIT License - see the LICENSE file for details.

uow_ai_final_project's People

Contributors

ygalvao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.