Giter VIP home page Giter VIP logo

biochl's Introduction

Neurons learn by predicting future activity

This is code to reproduce our results from manuscript: "Neurons learn by predicting future activity":
https://www.biorxiv.org/content/10.1101/2020.09.25.314211v2

To run CHL_clamped.py, go:

python CHL_clamped.py 

*for this code, please install pytoch.

*This python code will create a directory "results" to save the results (log.txt) and parameters.

Currently, number of epochs is set up to 3 (execution time ~7min). You can change number of epochs to 601 (line #312) for full training.
*if you run it for full training, it will take 21 hours to finish.

*You might get an error in line #235 if you are using sklearn version different than # 0.23.2. If you get an error, you can comment out the line #235, but training data will not be shuffled between epochs.

biochl's People

Contributors

ykubo82 avatar

Watchers

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