Giter Site home page Giter Site logo

bangkorkor / electoral-systems-oha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alessandrozito98/electoral-systems-simulator

0.0 0.0 0.0 17.4 MB

Repository of the project from "Progetto di Ingegneria Informatica" (Computer Engineering Progect) course at Politecnico di Milano (AY 2021-2022)

License: GNU General Public License v3.0

Python 15.86% Jupyter Notebook 84.14%

electoral-systems-oha's Introduction

Simulatore di sistemi elettorali

License: MIT CodeFactor

GitHub pull requests GitHub issuess

Description

Simulations of different electoral laws with the same dataset to see if there would be any changes in the composition of the parliament.

Installation

Needs python3.

Use the package manager pip to install all the librabries.

pip3 install -r requirements.txt

Configuration

Usage

Two ways of starting the simulation:

  1. Using the bash console:
python3 -m src LeggiElettorali/LawName
  1. Using the python console:
import src
src.run_simulation('LeggiElettorali/LawName')

Setup

Create a folder in LeggiElettorali/name_of_new_law with this structure:

  • Classes
  • Data
  • Instances

for more information on which files to put in the folder, see the documentation.

Credits

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Licensed under GNU General Public License v3.0 license.

electoral-systems-oha's People

Contributors

alessandrozito98 avatar bangkorkor avatar askkvar avatar olevcas avatar mirkoliveli 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.