Skip to main content

Machine learning models for fMRI classification

Project description

ml4fmri

This repo contains implementation of several deep learning models for fMRI data analysis, gathered and packaged together for the ease of experimentation. Originally based on the codebase behind the NeuroImage paper "A simple but tough-to-beat baseline for fMRI time-series classification".

TODO: Explain how to use, add tutorials. Add polyssifier-like functionality.

Use example

pip install ml4fmri

# in python, get fMRI time series data in shape (samples, time, n_features)
# and labels in shape (samples) (binary or multiclass)
from ml4fmri import cvbench # runs CV experiments with implemented models on the given data
report = cvbench(data, labels, models='all', n_folds=5)
report.plot_scores()

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

ml4fmri-0.2.0.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ml4fmri-0.2.0-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file ml4fmri-0.2.0.tar.gz.

File metadata

  • Download URL: ml4fmri-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for ml4fmri-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1554f9326048ecab5c99a84abb674bdfcfb74d6f992bad6d2eaa4fae8f5dc575
MD5 a58f4dbe3f41c8b18fcb1611ae9ee2d0
BLAKE2b-256 a55478cf3fbf8e9d51cdfdac362bcddffcf8669f418e82116ad645889a5fbb68

See more details on using hashes here.

File details

Details for the file ml4fmri-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ml4fmri-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for ml4fmri-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f590f6410bf08afca37063bcdc83af3e5273c0811db63b5a0b071c8f9c65f4d0
MD5 47b076e829ca9746b7fa66e403579128
BLAKE2b-256 a78ec0100ce711b049bd50f6647aeff42c63742e42b470b1620c0d939ab36d35

See more details on using hashes here.

Supported by

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