Coder Social home page Coder Social logo

darioliscai / neuralpredictors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sinzlab/neuralpredictors

0.0 0.0 0.0 915 KB

Machine Learning Utils of Sinzlab

License: MIT License

Shell 0.01% Python 95.49% Makefile 0.17% Jupyter Notebook 4.26% Dockerfile 0.06%

neuralpredictors's Introduction

Neuralpredictors

Test codecov Black Mypy Isort PyPI version

Sinz Lab Neural System Identification Utilities for PyTorch.

How to run the tests ๐Ÿงช

Clone this repository and run the following command from within the cloned repository to run all tests:

docker-compose run pytest

How to contribute ๐Ÿ”ฅ

Pull requests (and issues) are always welcome. This section describes some preconditions that pull requests need to fulfill.

Tests

Please make sure your changes pass the tests. Take a look at the test running section for instructions on how to run them. Adding tests for new code is not mandatory but encouraged.

Code Style

black

This project uses the black code formatter. You can check whether your changes comply with its style by running the following command:

docker-compose run black

Furthermore you can pass a path to the service to have black fix any errors in the Python modules it finds in the given path.

isort

isort is used to sort Python imports. You can check the order of imports by running the following command:

docker-compose run isort

The imports can be sorted by passing a path to the service.

Type Hints

We use mypy as a static type checker. Running the following command will check the code for any type errors:

docker-compose run mypy

It is not necessary (but encouraged) to add type hints to new code but please make sure your changes do not produce any mypy errors.

Note that only modules specified in the mypy-files.txt file are checked by mypy. This is done to be able to add type hints gradually without drowning in errors. If you want to add type annotations to a previously unchecked module you have to add its path to mypy-files.txt.

neuralpredictors's People

Contributors

konstantinwilleke avatar fabiansinz avatar christoph-blessing avatar mohammadbashiri avatar kklurz avatar eywalker avatar akjagadish avatar maxfburg avatar claudiusgruner avatar arnenx avatar pollytur avatar ivust avatar mvystrcilova avatar sacadena avatar m00mo avatar ppierzc avatar suhasshrinivasan avatar bryanlimy avatar synicix 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.