leaspy


Nameleaspy JSON
Version 1.5.0 PyPI version JSON
download
home_pagehttps://gitlab.com/icm-institute/aramislab/leaspy
SummaryLeaspy is a software package for the statistical analysis of longitudinal data.
upload_time2024-06-12 12:14:35
maintainerIgor Koval
docs_urlNone
authorIgor Koval, Raphael Couronne, Etienne Maheux, Arnaud Valladier, Benoit Martin, Pierre-Emmanuel Poulet, Samuel Gruffaz, Cecile Di Folco, Juliette Ortholand, Mkrtich Vatinyan, Benoit Sauty De Chalon, Nemo Fournier, Quentin Madura, Stanley Durrleman
requires_python<3.12,>=3.9
licenseBSD-3-Clause
keywords leaspy longitudinal mixed-model
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![pipeline status](https://gitlab.com/icm-institute/aramislab/leaspy/badges/master/pipeline.svg)](https://gitlab.com/icm-institute/aramislab/leaspy/commits/master)
[![documentation status](https://readthedocs.org/projects/leaspy/badge/)](https://leaspy.readthedocs.io)
[![code coverage](https://gitlab.com/icm-institute/aramislab/leaspy/badges/master/coverage.svg)](https://gitlab.com/icm-institute/aramislab/leaspy/-/graphs/master/charts)
[![PyPI - license](https://img.shields.io/pypi/l/leaspy)](https://opensource.org/licenses/BSD-3-Clause)
[![PyPI - version](https://img.shields.io/pypi/v/leaspy)](https://pypi.org/project/leaspy/)
[![PyPI - downloads](https://img.shields.io/pypi/dm/leaspy)](https://pypi.org/project/leaspy/)
[![PyPI - versions](https://img.shields.io/pypi/pyversions/leaspy)](https://pypi.org/project/leaspy/)

# Leaspy - LEArning Spatiotemporal Patterns in Python
Leaspy is a software package for the statistical analysis of **longitudinal data**, particularly **medical** data that comes in a form of **repeated observations** of patients at different time-points.

## Get started Leaspy

### Installation

1. Leaspy requires Python >= 3.9, < 3.12
2. Create a dedicated environment (optional):

   Using `conda`
   ```
   conda create --name leaspy python=3.10
   conda activate leaspy
   ```

   Or using `pyenv`
   ```
   pyenv virtualenv leaspy
   pyenv local leaspy
   ```

3. Install leaspy:
`pip install leaspy`

It will automatically install all needed dependencies.

### Documentation
[Available online at _Readthedocs.io_](https://leaspy.readthedocs.io)

### Examples & Tutorials
The `example/start/` folder contains a starting point if you want to launch your first scripts and notebook with the Leaspy package.
You can find additional walkthroughs in:
- this series of [online tutorials](https://disease-progression-modelling.github.io/pages/notebooks/disease_course_mapping/disease_course_mapping.html) from 2020
- this [Medium post](https://medium.com/@igoroa/analysis-of-longitudinal-data-made-easy-with-leaspy-f8d529fcb5f8) of 2019 (_warning_: the plotter and the individual parameters described there have been deprecated since then)

## Description
Leaspy is a software package for the statistical analysis of **longitudinal data**, particularly **medical** data that comes in a form of **repeated observations** of patients at different time-points.
Considering these series of short-term data, the software aims at :
- recombining them to reconstruct the long-term spatio-temporal trajectory of evolution
- positioning each patient observations relatively to the group-average timeline, in terms of both temporal differences (time shift and acceleration factor) and spatial differences (different sequences of events, spatial pattern of progression, ...)
- quantifying impact of cofactors (gender, genetic mutation, environmental factors, ...) on the evolution of the signal
- imputing missing values
- predicting future observations
- simulating virtual patients to un-bias the initial cohort or mimics its characteristics

The software package can be used with scalar multivariate data whose progression can be modelled by a logistic shape, an exponential decay or a linear progression.
The simplest type of data handled by the software are scalar data: they correspond to one (univariate) or multiple (multivariate) measurement(s) per patient observation.
This includes, for instance, clinical scores, cognitive assessments, physiological measurements (e.g. blood markers, radioactive markers) but also imaging-derived data that are rescaled, for instance, between 0 and 1 to describe a logistic progression.

### Main features
- `fit` : determine the **population parameters** that describe the disease progression at the population level
- `personalize` : determine the **individual parameters** that characterize the individual scenario of biomarker progression
- `estimate` : evaluate the biomarker values of a patient at any age, either for missing value imputation or future prediction
- `simulate` : generate synthetic data from the model

### Further information
More detailed explanations about the models themselves and about the estimation procedure can be found in the following articles :

- **Mathematical framework**: *A Bayesian mixed-effects model to learn trajectories of changes from repeated manifold-valued observations*. Jean-Baptiste Schiratti, Stéphanie Allassonnière, Olivier Colliot, and Stanley Durrleman. The Journal of Machine Learning Research, 18:1–33, December 2017. [Open Access](https://hal.archives-ouvertes.fr/hal-01540367).
- **Application to imaging data**: *Statistical learning of spatiotemporal patterns from longitudinal manifold-valued networks*. I. Koval, J.-B. Schiratti, A. Routier, M. Bacci, O. Colliot, S. Allassonnière and S. Durrleman. MICCAI, September 2017. [Open Access](https://hal.archives-ouvertes.fr/hal-01540828)
- **Application to imaging data**: *Spatiotemporal Propagation of the Cortical Atrophy: Population and Individual Patterns*. Igor Koval, Jean-Baptiste Schiratti, Alexandre Routier, Michael Bacci, Olivier Colliot, Stéphanie Allassonnière, and Stanley Durrleman. Front Neurol. 2018 May 4;9:235. [Open Access](https://hal.inria.fr/hal-01910400)
- **Application to data with missing values**: *Learning disease progression models with longitudinal data and missing values*. R. Couronne, M. Vidailhet, JC. Corvol, S. Lehéricy, S. Durrleman. ISBI, April 2019. [Open Access](https://hal.archives-ouvertes.fr/hal-02091571)
- **Intensive application for Alzheimer's Disease progression**: *AD Course Map charts Alzheimer's disease progression*, I. Koval, A. Bone, M. Louis, S. Bottani, A. Marcoux, J. Samper-Gonzalez, N. Burgos, B. Charlier, A. Bertrand, S. Epelbaum, O. Colliot, S. Allassonniere & S. Durrleman, Scientific Reports, 2021. 11(1):1-16 [Open Access](https://hal.inria.fr/hal-01964821)
- [www.digital-brain.org](https://www.digital-brain.org): website related to the application of the model for Alzheimer's disease
- [Disease Course Mapping](https://disease-progression-modelling.github.io/pages/models/disease_course_mapping.html) webpage by Igor Koval

## License
The package is distributed under the BSD 3-Clause license.

## Support
The development of this software has been supported by the European Union H2020 program (project EuroPOND, grant number 666992, project HBP SGA1 grant number 720270), by the European Research Council (to Stanley Durrleman project LEASP, grant number 678304) and by the ICM Big Brain Theory Program (project DYNAMO).

## Contact
[ARAMIS Lab](https://www.aramislab.fr/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/icm-institute/aramislab/leaspy",
    "name": "leaspy",
    "maintainer": "Igor Koval",
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": "igor.koval@inria.fr",
    "keywords": "leaspy longitudinal mixed-model",
    "author": "Igor Koval, Raphael Couronne, Etienne Maheux, Arnaud Valladier, Benoit Martin, Pierre-Emmanuel Poulet, Samuel Gruffaz, Cecile Di Folco, Juliette Ortholand, Mkrtich Vatinyan, Benoit Sauty De Chalon, Nemo Fournier, Quentin Madura, Stanley Durrleman",
    "author_email": "igor.koval@inria.fr",
    "download_url": "https://files.pythonhosted.org/packages/3d/49/a09006fd1c3ae2407c4e26d765de6b4f3a40872cba34bd30115d2f0b8be7/leaspy-1.5.0.tar.gz",
    "platform": null,
    "description": "[![pipeline status](https://gitlab.com/icm-institute/aramislab/leaspy/badges/master/pipeline.svg)](https://gitlab.com/icm-institute/aramislab/leaspy/commits/master)\n[![documentation status](https://readthedocs.org/projects/leaspy/badge/)](https://leaspy.readthedocs.io)\n[![code coverage](https://gitlab.com/icm-institute/aramislab/leaspy/badges/master/coverage.svg)](https://gitlab.com/icm-institute/aramislab/leaspy/-/graphs/master/charts)\n[![PyPI - license](https://img.shields.io/pypi/l/leaspy)](https://opensource.org/licenses/BSD-3-Clause)\n[![PyPI - version](https://img.shields.io/pypi/v/leaspy)](https://pypi.org/project/leaspy/)\n[![PyPI - downloads](https://img.shields.io/pypi/dm/leaspy)](https://pypi.org/project/leaspy/)\n[![PyPI - versions](https://img.shields.io/pypi/pyversions/leaspy)](https://pypi.org/project/leaspy/)\n\n# Leaspy - LEArning Spatiotemporal Patterns in Python\nLeaspy is a software package for the statistical analysis of **longitudinal data**, particularly **medical** data that comes in a form of **repeated observations** of patients at different time-points.\n\n## Get started Leaspy\n\n### Installation\n\n1. Leaspy requires Python >= 3.9, < 3.12\n2. Create a dedicated environment (optional):\n\n   Using `conda`\n   ```\n   conda create --name leaspy python=3.10\n   conda activate leaspy\n   ```\n\n   Or using `pyenv`\n   ```\n   pyenv virtualenv leaspy\n   pyenv local leaspy\n   ```\n\n3. Install leaspy:\n`pip install leaspy`\n\nIt will automatically install all needed dependencies.\n\n### Documentation\n[Available online at _Readthedocs.io_](https://leaspy.readthedocs.io)\n\n### Examples & Tutorials\nThe `example/start/` folder contains a starting point if you want to launch your first scripts and notebook with the Leaspy package.\nYou can find additional walkthroughs in:\n- this series of [online tutorials](https://disease-progression-modelling.github.io/pages/notebooks/disease_course_mapping/disease_course_mapping.html) from 2020\n- this [Medium post](https://medium.com/@igoroa/analysis-of-longitudinal-data-made-easy-with-leaspy-f8d529fcb5f8) of 2019 (_warning_: the plotter and the individual parameters described there have been deprecated since then)\n\n## Description\nLeaspy is a software package for the statistical analysis of **longitudinal data**, particularly **medical** data that comes in a form of **repeated observations** of patients at different time-points.\nConsidering these series of short-term data, the software aims at :\n- recombining them to reconstruct the long-term spatio-temporal trajectory of evolution\n- positioning each patient observations relatively to the group-average timeline, in terms of both temporal differences (time shift and acceleration factor) and spatial differences (different sequences of events, spatial pattern of progression, ...)\n- quantifying impact of cofactors (gender, genetic mutation, environmental factors, ...) on the evolution of the signal\n- imputing missing values\n- predicting future observations\n- simulating virtual patients to un-bias the initial cohort or mimics its characteristics\n\nThe software package can be used with scalar multivariate data whose progression can be modelled by a logistic shape, an exponential decay or a linear progression.\nThe simplest type of data handled by the software are scalar data: they correspond to one (univariate) or multiple (multivariate) measurement(s) per patient observation.\nThis includes, for instance, clinical scores, cognitive assessments, physiological measurements (e.g. blood markers, radioactive markers) but also imaging-derived data that are rescaled, for instance, between 0 and 1 to describe a logistic progression.\n\n### Main features\n- `fit` : determine the **population parameters** that describe the disease progression at the population level\n- `personalize` : determine the **individual parameters** that characterize the individual scenario of biomarker progression\n- `estimate` : evaluate the biomarker values of a patient at any age, either for missing value imputation or future prediction\n- `simulate` : generate synthetic data from the model\n\n### Further information\nMore detailed explanations about the models themselves and about the estimation procedure can be found in the following articles :\n\n- **Mathematical framework**: *A Bayesian mixed-effects model to learn trajectories of changes from repeated manifold-valued observations*. Jean-Baptiste Schiratti, St\u00e9phanie Allassonni\u00e8re, Olivier Colliot, and Stanley Durrleman. The Journal of Machine Learning Research, 18:1\u201333, December 2017. [Open Access](https://hal.archives-ouvertes.fr/hal-01540367).\n- **Application to imaging data**: *Statistical learning of spatiotemporal patterns from longitudinal manifold-valued networks*. I. Koval, J.-B. Schiratti, A. Routier, M. Bacci, O. Colliot, S. Allassonni\u00e8re and S. Durrleman. MICCAI, September 2017. [Open Access](https://hal.archives-ouvertes.fr/hal-01540828)\n- **Application to imaging data**: *Spatiotemporal Propagation of the Cortical Atrophy: Population and Individual Patterns*. Igor Koval, Jean-Baptiste Schiratti, Alexandre Routier, Michael Bacci, Olivier Colliot, St\u00e9phanie Allassonni\u00e8re, and Stanley Durrleman. Front Neurol. 2018 May 4;9:235. [Open Access](https://hal.inria.fr/hal-01910400)\n- **Application to data with missing values**: *Learning disease progression models with longitudinal data and missing values*. R. Couronne, M. Vidailhet, JC. Corvol, S. Leh\u00e9ricy, S. Durrleman. ISBI, April 2019. [Open Access](https://hal.archives-ouvertes.fr/hal-02091571)\n- **Intensive application for Alzheimer's Disease progression**: *AD Course Map charts Alzheimer's disease progression*, I. Koval, A. Bone, M. Louis, S. Bottani, A. Marcoux, J. Samper-Gonzalez, N. Burgos, B. Charlier, A. Bertrand, S. Epelbaum, O. Colliot, S. Allassonniere & S. Durrleman, Scientific Reports, 2021. 11(1):1-16 [Open Access](https://hal.inria.fr/hal-01964821)\n- [www.digital-brain.org](https://www.digital-brain.org): website related to the application of the model for Alzheimer's disease\n- [Disease Course Mapping](https://disease-progression-modelling.github.io/pages/models/disease_course_mapping.html) webpage by Igor Koval\n\n## License\nThe package is distributed under the BSD 3-Clause license.\n\n## Support\nThe development of this software has been supported by the European Union H2020 program (project EuroPOND, grant number 666992, project HBP SGA1 grant number 720270), by the European Research Council (to Stanley Durrleman project LEASP, grant number 678304) and by the ICM Big Brain Theory Program (project DYNAMO).\n\n## Contact\n[ARAMIS Lab](https://www.aramislab.fr/)\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Leaspy is a software package for the statistical analysis of longitudinal data.",
    "version": "1.5.0",
    "project_urls": {
        "Bug Reports": "https://gitlab.com/icm-institute/aramislab/leaspy/issues",
        "Documentation": "https://leaspy.readthedocs.io",
        "Homepage": "https://gitlab.com/icm-institute/aramislab/leaspy",
        "Source": "https://gitlab.com/icm-institute/aramislab/leaspy"
    },
    "split_keywords": [
        "leaspy",
        "longitudinal",
        "mixed-model"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "888dd38e4068362b43026469d9ba2c78833f4d776119804dddf7c7962e42941b",
                "md5": "ae6af3fb2c07d4ff319f5477818ccf19",
                "sha256": "af084a61960c23ea092f25aa9b5a8269a2c40116eb1950656a27f57ffacb4d54"
            },
            "downloads": -1,
            "filename": "leaspy-1.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ae6af3fb2c07d4ff319f5477818ccf19",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 611204,
            "upload_time": "2024-06-12T12:14:26",
            "upload_time_iso_8601": "2024-06-12T12:14:26.929166Z",
            "url": "https://files.pythonhosted.org/packages/88/8d/d38e4068362b43026469d9ba2c78833f4d776119804dddf7c7962e42941b/leaspy-1.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d49a09006fd1c3ae2407c4e26d765de6b4f3a40872cba34bd30115d2f0b8be7",
                "md5": "1aace5f15c946f104aff4372f4823f9b",
                "sha256": "b250cd29d4c2ccd580256b27939895e9db01eaa7a1f08697e7b6f290ca04f9e5"
            },
            "downloads": -1,
            "filename": "leaspy-1.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1aace5f15c946f104aff4372f4823f9b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 567255,
            "upload_time": "2024-06-12T12:14:35",
            "upload_time_iso_8601": "2024-06-12T12:14:35.145478Z",
            "url": "https://files.pythonhosted.org/packages/3d/49/a09006fd1c3ae2407c4e26d765de6b4f3a40872cba34bd30115d2f0b8be7/leaspy-1.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-12 12:14:35",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "icm-institute",
    "gitlab_project": "aramislab",
    "lcname": "leaspy"
}
        
Elapsed time: 1.27623s