GithubHelp home page GithubHelp logo

ssamot / socialist_planning Goto Github PK

View Code? Open in Web Editor NEW
20.0 3.0 2.0 800 KB

An initial implementation of socialist planning, insipired by W. Paul Cockshott and Allin Cottrell's book "Towards a new socialism"

License: GNU General Public License v3.0

Python 98.57% Shell 1.43%

socialist_planning's Introduction

open loop in natura economic planning

An initial implementation of "open loop in natura economic planning". Note that this is not your standard "data - train - validate - test" machine learning code, the topic of the paper is very different, and the purpose of the experiments is to showcase feasibility, rather then benchmark vs a previous method (which does not exist).

All the generated data for the plots is in ./plot_data. All data required for the village experiment is in ./data/. The random generated matrices are missing, but (a) they can be generated using ./generate_matrices.py (b) they are 22GB.

./selvaria.py executes the experiments and generates the experiment for optimising the economy of a small alien village.

./online_time_complexity.py optimises for one tick for various random economies of different sizes. All the generated files are around 22GB, so they are not included (but you can generate them).

./coeffs.py has the coefficients for the production units of the village economy. The corresponding consumption data is in ./data. If you just run the file it will create the coefficient plots for those three production units (i.e. factories).

./utils.py include various helper functions.

./generate_matrices.py includes the code to generate random sparse matrices.

./plot_selvaria.py includes the code for investment plots, as presented in the paper.

./plot_time.py plots the (empirical) time complexity of solving for matrices of certain size.

./metrics.py includes the code for humanity and other metrics.

socialist_planning's People

Contributors

ssamot avatar

Stargazers

 avatar  avatar Paulo avatar jdickman avatar  avatar  avatar Chris Barr avatar  avatar Nick Schmitt avatar Dr. Ryan Heuser avatar Fabián Heredia Montiel avatar  avatar  avatar OmbreKala avatar Amy W avatar Hai-Dang Huynh-Lam avatar Altun Hasanli avatar Ejaaz Merali avatar Daniel Fahey avatar tomguim avatar

Watchers

James Cloos avatar  avatar  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.