#157157th of 433 in ML frameworks and librariesFor science, health and research, science, health and medicine

nilearn

Python library for statistical and machine-learning analysis of brain images

Stars
1.5k
License
BSD-3-Clause
Last commit
Nov 2026
Last release
Sep 2026
Language
Python
Stars, last 29 weeks+75
6 May 2026: 1,387 stars13 May 2026: 1,389 stars20 May 2026: 1,391 stars27 May 2026: 1,393 stars3 Jun 2026: 1,394 stars10 Jun 2026: 1,398 stars17 Jun 2026: 1,403 stars24 Jun 2026: 1,403 stars1 Jul 2026: 1,406 stars8 Jul 2026: 1,407 stars15 Jul 2026: 1,411 stars22 Jul 2026: 1,415 stars29 Jul 2026: 1,417 stars5 Aug 2026: 1,419 stars12 Aug 2026: 1,419 stars19 Aug 2026: 1,420 stars26 Aug 2026: 1,423 stars2 Sept 2026: 1,425 stars9 Sept 2026: 1,428 stars16 Sept 2026: 1,430 stars23 Sept 2026: 1,437 stars30 Sept 2026: 1,439 stars7 Oct 2026: 1,440 stars14 Oct 2026: 1,441 stars21 Oct 2026: 1,447 stars28 Oct 2026: 1,450 stars4 Nov 2026: 1,452 stars11 Nov 2026: 1,455 stars18 Nov 2026: 1,460 stars25 Nov 2026: 1,462 stars

1,387 on 6 May 20261,462 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Nilearn is a Python package for analyzing brain volumes and surfaces. It supports general linear model analysis and builds on scikit-learn for multivariate statistics such as decoding, classification, predictive modeling and connectivity analysis. It installs with pip and has online documentation and weekly open drop-in hours.

Who it is for: Neuroimaging researchers and Python data scientists analyzing brain scans

Strengths

  • Covers GLM analysis plus scikit-learn-based decoding and connectivity in one package
  • Installs with a single pip command
  • Weekly open drop-in hours with core developers
  • CI, coverage tracking and a Zenodo DOI for citation

Weaknesses

  • Not an LLM or generative AI tool; it targets neuroimaging analysis only
  • Plotly plotting engine needs plotly and kaleido installed separately
  • Plotting and running the examples require matplotlib as an extra dependency

What it needs

  • Needs scikit-learn, matplotlib (plotting), plotly and kaleido (optional plotting engine)
  • Models: scikit-learn estimators, general linear models

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#155elixir-nx/nxTensors and numerical definitions for Elixir, with XLA and LibTorch backends2.9k starsno license64 out of 100
#156pyhealthPyTorch toolkit for clinical ML on EHR, biosignal and medical imaging data1.7k starsMIT64 out of 100
#158dvcGit-based versioning for data, models and ML pipelines16k starsApache-2.063 out of 100
#159ivyTranspiler that converts ML code from PyTorch to TensorFlow, JAX or NumPy14.2k starscustom license63 out of 100
#160pyroProbabilistic programming library for Bayesian modeling and inference on PyTorch9.1k starsApache-2.063 out of 100