Skip to main content

Identifies the contribution of behavioural and stimulus parameters to neural activity

Project description

Neuro-MINE (Model Identification of Neural Encoding) 🧠💻

Welcome to Neuro-MINE: your handy companion for processing neuronal response data! This app allows users to use MINE as a GUI or in the command line to train a flexible, convolutional neural network (CNN) to analyze experimental datasets containing neural activity and corresponding predictors (e.g., behavioral responses).

Quick Start

[1] Create an environment using Python v3.9

conda create -n mine python=3.9

[2] Activate new environment

conda activate mine

[3] Install MINE from PyPi

pip install neuro_mine
Use Cases and Requirements

Use Cases:

  • Any model organism
  • Any type of predictor data (stimuli and/or behavior)
  • Any type of response data (imaging or spikes)
  • Episodic or non-episodic data
  • Generate response predictions from new predictors use an existing model

Data Requirements:

  • File type: .csv with any delimiter
  • Predictor data **must** have time as the first column and it must be named 'time'; for optimal outputs, predictor columns should be meaningfully labelled (e.g., 'temperature' or 'left_paw') in the header
  • Reponse data **must** have time as the first column and the responses must be in adjacent columns; column titles (a header) are supported but are not mandatory
  • Within episodes, data must be continuous in time, and time must be monotonically increasing
Neuro-MINE for Fitting

To launch GUI for model fitting:

Mine-gui

Possible commmand line arguments for fitting with Neuro-MINE:

Mine -p <predictor directory or filepath(s)> -r <respose directory or filepath(s)> -ut <use time> -sh <run shuffle> -ct <test score threshold> -ts <Taylor significance> -la <linear fit variance fraction> -lsq <square fit variance fraction> -n <name of model> -mh <model history (seconds)> -tl <Taylor lookahead> -j <Store Jacobians> -o <JSON filepath with existing parameters>  -e <epoch number> -mv <verbose in terminal> -mtf <fraction of data for training vs testing> -eps <data is eposidic>
Mine --help # see possible command line prompts to customize the model
Neuro-MINE for Predictions

To launch GUI for response prediction:

Mine-predict # Launches prediction GUI from existing models and new prediction data

Possible commmand line arguments for predicting with Neuro-MINE:

Mine-predict -p <predictor directory or filepath(s)> -o <JSON filepath with model parameters> -w <hdf5 filepath with weights> -a <hdf5 filepath with analysis of fit> -ct <test score threshold>
Mine-predict --help # see possible command line prompts to parameterize the prediction

Authors:
Danica Matovic
Martin Haesemeyer
Jamie Costabile
Kaarthik Balakrishnan
Sina Schwinn

Publication: Costabile JD, Balakrishnan KA, Schwinn S, Haesemeyer M. Model discovery to link neural activity to behavioral tasks. Elife. 2023 Jun 6;12:e83289. doi: 10.7554/eLife.83289. PMID: 37278516; PMCID: PMC10310322. https://elifesciences.org/articles/83289

GitHub Repository of Original Publication: https://github.com/haesemeyer/mine_pub
Lab Website: https://www.thermofish.org/

All code is licensed under the MIT license. See LICENSE for details.
© Martin Haesemeyer, Jamie D Costabile, Kaarthik A Balakrishnan, and Danica Matovic 2020-2025
Questions may be directed to haesemeyer.1@osu.edu

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

neuro_mine-0.8.1.tar.gz (51.5 kB view details)

Uploaded Source

Built Distribution

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

neuro_mine-0.8.1-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file neuro_mine-0.8.1.tar.gz.

File metadata

  • Download URL: neuro_mine-0.8.1.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for neuro_mine-0.8.1.tar.gz
Algorithm Hash digest
SHA256 32d006a4212029a91bb63dc3abe0bf2442e4b2ec1cd306b1ccc1948de13d8201
MD5 0b0590b9a85098b0bde795085089f7ed
BLAKE2b-256 8e4cbbaa202b2ce08171d99c2e41fdf4fb69d8672861ebc35bdad634101051db

See more details on using hashes here.

File details

Details for the file neuro_mine-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: neuro_mine-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for neuro_mine-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f222febb65c90e8f3834f75748af976176ff340636b178ae2a1f295022aedba
MD5 c1f97bbb6397248e7d1a0cf972dd7d20
BLAKE2b-256 51b295ffa794b2f52aca7ccb1737ca75d8d1edfb75e67da7d8d6937c944eba93

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