Skip to main content

A neuroscience ML library for Alzheimer's disease research with microbiome integration and LLM capabilities

Project description

NuroMind

NuroMind is under the ADAM project by UMass Chan at Microbiology & Microbiome Dynamics AI HUB, Haran Research Group, and Bucci Lab. NuroMind is a comprehensive Python library for neuroscience research with a focus on Alzheimer's disease and microbiome-brain interactions. Developed at UMass Chan Medical School's Microbiology & Microbiome Dynamics AI HUB.

Note: This library is still under development, and we are actively conducting extensive testing on this package. The code may not behave as expected at the moment.

PyPI version Python Version License: MIT

Project Structure

nuromind/
│
├── src/
│   └── nuromind/
│       ├── __init__.py
│       ├── core.py
│       ├── config.py
│       ├── utils.py
│       ├── imaging/
│       │   ├── __init__.py
│       │   ├── preprocessing.py
│       │   ├── segmentation.py
│       │   └── visualization.py
│       ├── models/
│       │   ├── __init__.py
│       │   ├── base.py
│       │   ├── alzheimer.py
│       │   └── predictors.py
│       ├── microbiome/
│       │   ├── __init__.py
│       │   ├── analysis.py
│       │   ├── diversity.py
│       │   └── visualization.py
│       └── llm/
│           ├── __init__.py
│           ├── assistant.py
│           ├── prompts.py
│           └── literature.py
│
├── tests/
│   ├── __init__.py
│   ├── conftest.py
│   ├── test_core.py
│   ├── test_imaging/
│   ├── test_models/
│   ├── test_microbiome/
│   └── test_llm/
│
├── examples/
│   ├── __init__.py
│   ├── basic_usage.py
│   ├── alzheimer_analysis.py
│   └── microbiome_integration.py
│
├── docs/
│   ├── index.md
│   ├── installation.md
│   ├── quickstart.md
│   └── api/
│
├── pyproject.toml
├── README.md
├── LICENSE
├── CHANGELOG.md
├── CONTRIBUTING.md
├── .gitignore
├── .github/
│   └── workflows/
│       ├── tests.yml
│       └── publish.yml
└── requirements/
    ├── base.txt
    ├── dev.txt
    └── docs.txt

Description

Nuromind is a structured Python package tailored for analyzing neurological data, specifically targeting Alzheimer's disease. The project integrates imaging preprocessing, microbiome analysis, specialized Alzheimer's models, and large language model (LLM) functionalities.

Key Directories

  • src/nuromind/: Core modules and functionalities.

    • core.py: Main functionalities and utilities.
    • imaging/: Preprocessing tools for imaging data.
    • models/: Specialized models for Alzheimer's disease research.
    • microbiome/: Analysis tools for microbiome datasets.
    • llm/: Integration with large language models.
  • tests/: Unit and integration tests to ensure the reliability of the package.

Installation

# Basic installation
pip install nuromind

# With all optional dependencies
pip install nuromind[dev,viz,bio,microbiome]

Quick Start

import nuromind as nm

# Check available dependencies
deps = nm.check_dependencies()
print(f"Available components: {deps}")

# Initialize configuration
config = nm.NuroMindConfig(device="cuda")

# Load and analyze data (placeholder functionality)
from nuromind.imaging import load_mri, preprocess
from nuromind.models import AlzheimerClassifier

# Load brain scan
scan = load_mri("path/to/scan.nii")
processed = preprocess(scan)

# Analyze with model
classifier = AlzheimerClassifier()
results = classifier.predict(processed)
print(f"AD probability: {results['ad_probability']}")

Features (In Development)

  • Alzheimer's Disease Research: Biomarker analysis, neuroimaging pipelines
  • Microbiome Integration: Gut-brain axis analysis, dysbiosis detection
  • LLM Research Assistant: Automated literature reviews, hypothesis generation
  • Medical Imaging: MRI/PET preprocessing, brain segmentation
  • Multi-Omics: Integrated analysis of microbiome, imaging, and clinical data

Development

# Clone the repository
git clone https://github.com/melhzy/nuromind.git
cd nuromind

# Install in development mode
pip install -e .[dev]

# Run tests
pytest

# Format code
black src/nuromind tests/

Author

Ziyuan Huang
UMass Chan Medical School
Microbiology & Microbiome Dynamics AI HUB, Haran Research Group, & Bucci Lab
Email: ziyuan.huang2@umassmed.edu

License

MIT License - see LICENSE file for details.

Citation

@software{nuromind2025,
  author = {Huang, Ziyuan},
  title = {},
  year = {2025},
  organization = {UMass Chan Medical School},
  url = {}
}

### LICENSE

MIT License

Copyright (c) 2024 Ziyuan Huang, UMass Chan Medical School

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

nuromind-0.0.2.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

nuromind-0.0.2-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file nuromind-0.0.2.tar.gz.

File metadata

  • Download URL: nuromind-0.0.2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for nuromind-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cef6afea66a6b6eebdef54f4f7b668faf18642544d3454c0a0da19c9fe892a29
MD5 2e463fc332ce1a06692469ff7af02223
BLAKE2b-256 dff3de0e23aeb909cad1abccb76907fcfe2e4c6e7164b5a792bcbe8174dc9beb

See more details on using hashes here.

File details

Details for the file nuromind-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nuromind-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for nuromind-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c631285b00bcafc6b32747aaff926748d5bee0e27cc33fee030c156ab766b4
MD5 95e9d9da6356dbf7a97de8ffdb14eb72
BLAKE2b-256 fd64aa681289715b26aa3f732f34a43683aa4d69794e4f48d104fff78e27a7de

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