Skip to main content

Statistical learning for neuroimaging in Python

Project description

Pypi Package PyPI - Python Version Github Actions Build Status Coverage Status Azure Build Status

nilearn

Nilearn enables approachable and versatile analyses of brain volumes. It provides statistical and machine-learning tools, with instructive documentation & friendly community.

It supports general linear model (GLM) based analysis and leverages the scikit-learn Python toolbox for multivariate statistics with applications such as predictive modelling, classification, decoding, or connectivity analysis.

Office Hours

The nilearn team organizes regular online office hours to answer questions, discuss feature requests, or have any Nilearn-related discussions. Nilearn office hours occur every Friday from 4pm to 5pm UTC, and we make sure that at least one member of the core-developer team is available. These events are held on our on Discord server and are fully open, anyone is welcome to join!

Dependencies

The required dependencies to use the software are:

  • Python >= 3.6

  • setuptools

  • Numpy >= 1.18

  • SciPy >= 1.5

  • Scikit-learn >= 0.22

  • Joblib >= 0.15

  • Nibabel >= 3.0

  • Pandas >= 1.0

If you are using nilearn plotting functionalities or running the examples, matplotlib >= 3.0 is required.

Some plotting functions in Nilearn support both matplotlib and plotly as plotting engines. In order to use the plotly engine in these functions, you will need to install both plotly and kaleido, which can both be installed with pip and anaconda.

If you want to run the tests, you need pytest >= 3.9 and pytest-cov for coverage reporting.

Install

First make sure you have installed all the dependencies listed above. Then you can install nilearn by running the following command in a command prompt:

pip install -U --user nilearn

More detailed instructions are available at http://nilearn.github.io/introduction.html#installation.

Development

Detailed instructions on how to contribute are available at http://nilearn.github.io/development.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nilearn-0.9.0.tar.gz (12.9 MB view details)

Uploaded Source

Built Distribution

nilearn-0.9.0-py3-none-any.whl (10.1 MB view details)

Uploaded Python 3

File details

Details for the file nilearn-0.9.0.tar.gz.

File metadata

  • Download URL: nilearn-0.9.0.tar.gz
  • Upload date:
  • Size: 12.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0.post20201103 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for nilearn-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f9c8e30adef51489910aec7724b5699de178427d3ae63873dad9b23dd321fe76
MD5 1133f93092e16972a04e1b2706dfb260
BLAKE2b-256 c371c66e2084007363faae215fad3c3f44822a7fa71842e61010d14cde7d4bc0

See more details on using hashes here.

File details

Details for the file nilearn-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: nilearn-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0.post20201103 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for nilearn-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cb16270e53f5dd50ab2979e3e98ad4fc48485284e33b42eb376efba21734546
MD5 914ef94ffaaff9a906d41ea8e5bea1ec
BLAKE2b-256 45fea25e7413b1d8d0db9729b40cd6537dd08427480b8faf2ed2095dc290b43c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page