https://github.com/bluebrain/morphoclass
Neuronal morphology preparation and classification using Machine Learning.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.2%) to scientific vocabulary
Keywords
Repository
Neuronal morphology preparation and classification using Machine Learning.
Basic Info
- Host: GitHub
- Owner: BlueBrain
- License: apache-2.0
- Language: Python
- Default Branch: main
- Homepage: https://morphoclass.readthedocs.io
- Size: 1.53 MB
Statistics
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 23
- Releases: 0
Topics
Metadata Files
README.md

Morphology-Classification
MorphoClass is a toolbox for neuronal morphologies processing and classification using machine learning.
| Documentation |
|
| License |
|
| Static Typing |
|
| Code Style |
|
| CI |
|
Installation
Clone the repository and set up the virtual environment
sh
git clone git@github.com:BlueBrain/morphoclass.git
cd morphoclass
python --version # should be 3.8
python -m venv venv
. venv/bin/activate
Install morphoclass
sh
./install.sh
Open the file docs/build/html/index.html to view the documentation.
Examples
MorphoClass functionalities can be accessed using either a command line
interface or by importing morphoclass as a Python module and using it as a
library.
Command-Line Interface
By installing MorphoClass, we get access to a command line interface with a
main entrypoint morphoclass and various sub-commands.
sh
morphoclass --help
```
Usage: morphoclass [OPTIONS] COMMAND [ARGS]...
Welcome to the command line application for morphoclass.
All functionality is provided through respective sub-commands. To learn more about their functionality call the corresponding sub-command with the --help flag to see a detailed description.
Options: ...
Commands: ... ```
For instance, to train a model for classifying neuronal morphologies, we can
check the help of the corresponding sub-command.
sh
morphoclass train --help
```
Usage: morphoclass train [OPTIONS]
Train a morphology classification model.
Options: ... ```
Python Interface
MorphoClass is a pure Python package, and can be used as any other module once it is installed.
For instance, we can load a PersLay-based model for morphology classification and check its documentation as follows. ```py
from morphoclass.models.coriandernet import CorianderNet help(CorianderNet)
Help on class CorianderNet in module morphoclass.models.coriandernet:
class CorianderNet(torch.nn.modules.module.Module) | CorianderNet(nclasses=4, nfeatures=64, dropout=False) | | A PersLay-based neural network for neuron m-type classification. | | Parameters | ---------- ... ```
Documentation
For more examples and details on the installation, development setup, docker, the command line interface, and the python API please see the extended documentation on https://morphoclass.readthedocs.io
Funding & Acknowledgment
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government's ETH Board of the Swiss Federal Institutes of Technology.
Copyright © 2022-2022 Blue Brain Project/EPFL
Owner
- Name: The Blue Brain Project
- Login: BlueBrain
- Kind: organization
- Email: bbp.opensource@epfl.ch
- Location: Geneva, Switzerland
- Website: https://portal.bluebrain.epfl.ch/
- Repositories: 226
- Profile: https://github.com/BlueBrain
Open Source Software produced and used by the Blue Brain Project
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 82
- Total pull requests: 88
- Average time to close issues: 13 days
- Average time to close pull requests: 3 days
- Total issue authors: 4
- Total pull request authors: 7
- Average comments per issue: 0.51
- Average comments per pull request: 0.39
- Merged pull requests: 70
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- FrancescoCasalegno (36)
- Stannislav (6)
- EmilieDel (2)
- YannRoussel (1)
Pull Request Authors
- FrancescoCasalegno (26)
- Stannislav (9)
- EmilieDel (7)
- lidakanari (2)
- KeremKurban (1)
- bbpgithubaudit (1)
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- mxschmitt/action-tmate v3 composite
- styfle/cancel-workflow-action 0.9.1 composite
- Sphinx ==3.5.4
- sphinx-bluebrain-theme ==0.2.9
- sphinx-rtd-theme ==1.0.0
- torch-geometric ==1.7.2
- Sphinx ==3.5.4
- dvc ==2.10.2
- pre-commit ==2.19.0
- pytest ==7.1.2
- pytest-cov ==3.0.0
- pytest-mock ==3.7.0
- sphinx-bluebrain-theme ==0.2.9
- sphinx-rtd-theme ==1.0.0
- tox ==3.25.0
- NeuroR ==1.6.1
- PyYAML ==6.0
- captum ==0.3.1
- cleanlab ==1.0
- click ==8.1.2
- dash ==1.19.0
- dash-bootstrap-components ==0.12.0
- dash-core-components ==1.15.0
- dash-html-components ==1.1.2
- deepwalk ==1.0.3
- dill ==0.3.3
- gensim ==4.1.0
- imbalanced-learn ==0.8.0
- jinja2 ==2.11.3
- matplotlib ==3.5.1
- morphio ==3.3.3
- morphology-workflows ==0.3.0
- networkx ==2.5
- neurom ==3.1.0
- neurots ==3.1.1
- numpy ==1.21.0
- pandas ==1.3.4
- plotly ==5.4.0
- scikit-learn ==1.0.1
- scipy ==1.7.3
- seaborn ==0.11.0
- shap ==0.39.0
- tmd ==2.1.0
- torch ==1.7.1
- tqdm ==4.53.0
- umap-learn ==0.5.1
- xgboost ==1.4.2