# discopula
> Discrete checkerboard copula modeling and implementation of new scoring methods pertaining to ordinal and categorical discrete data.
[](https://badge.fury.io/py/discopula)
[](https://github.com/dmavani25/discopula/actions/workflows/test.yaml)
[](https://discopula.readthedocs.io/en/latest/?badge=latest)
[](https://coveralls.io/github/dmavani25/discopula?branch=master)
[](https://github.com/christophevg/pypi-template)
## Installation
This package (discopula) is hosted on PyPi, so for installation follow the following workflow ...
```console
$ pip install discopula
```
Now, you should be all set to use it in a Jupyter Notebook!
Alternatively, if you would like to use it in a project, we recommend you to have a virtual environment for your use of this package, then follow the following workflow. For best practices, it's recommended to use a virtual environment:
1. First, create and activate a virtual environment (Python 3.8+ recommended):
```bash
# Create virtual environment
$ python -m venv discopula-env
# Activate virtual environment (Mac/Linux)
$ source discopula-env/bin/activate
# Verify you're in the virtual environment
$ which python
```
2. Install package
```bash
$ pip install discopula
```
3. To deactivate the virtual environment, when done:
```bash
$ deactivate
```
## Documentation
Visit [Read the Docs](https://discopula.readthedocs.org) for the full documentation, including overviews and several examples.
## Examples
For detailed examples in Jupyter Notebooks and beyond (organized by functionality) please refer to our [GitHub repository's examples folder](https://github.com/dmavani25/discopula/tree/master/examples).
## Features
- Construction of checkerboard copulas from contingency tables and/or list of cases
- Calculation of marginal distributions and CDFs
- Computation of Checkerboard Copula Regression (CCR) and Prediction based on CCR
- Implementation of Checkerboard Copula Regression Association Measure (CCRAM) and the Scaled CCRAM (SCCRAM)
- Bootstrap functionality for CCR-based prediction, CCRAM and SCCRAM
- Permutation testing functionality for CCRAM & SCCRAM
- Vectorized implementations for improved performance
- Rigorous Edge-case Handling & Unit Testing with Pytest
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/dmavani25/discopula",
"name": "discopula",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "discrete-copula",
"author": "Dhyey Mavani",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b1/07/3ad45841bec6010998ae4618c590d1db74d85f377cd1152041e7491aa817/discopula-0.6.1.tar.gz",
"platform": null,
"description": "# discopula\n\n> Discrete checkerboard copula modeling and implementation of new scoring methods pertaining to ordinal and categorical discrete data.\n\n[](https://badge.fury.io/py/discopula)\n[](https://github.com/dmavani25/discopula/actions/workflows/test.yaml)\n[](https://discopula.readthedocs.io/en/latest/?badge=latest)\n[](https://coveralls.io/github/dmavani25/discopula?branch=master)\n[](https://github.com/christophevg/pypi-template)\n\n## Installation\n\nThis package (discopula) is hosted on PyPi, so for installation follow the following workflow ...\n\n```console\n$ pip install discopula\n```\n\nNow, you should be all set to use it in a Jupyter Notebook!\n\nAlternatively, if you would like to use it in a project, we recommend you to have a virtual environment for your use of this package, then follow the following workflow. For best practices, it's recommended to use a virtual environment:\n\n1. First, create and activate a virtual environment (Python 3.8+ recommended):\n\n```bash\n# Create virtual environment\n$ python -m venv discopula-env\n\n# Activate virtual environment (Mac/Linux)\n$ source discopula-env/bin/activate\n\n# Verify you're in the virtual environment\n$ which python\n```\n\n2. Install package\n\n```bash\n$ pip install discopula\n```\n\n3. To deactivate the virtual environment, when done:\n\n```bash\n$ deactivate\n```\n\n## Documentation\n\nVisit [Read the Docs](https://discopula.readthedocs.org) for the full documentation, including overviews and several examples.\n\n## Examples\n\nFor detailed examples in Jupyter Notebooks and beyond (organized by functionality) please refer to our [GitHub repository's examples folder](https://github.com/dmavani25/discopula/tree/master/examples).\n\n## Features\n\n- Construction of checkerboard copulas from contingency tables and/or list of cases\n- Calculation of marginal distributions and CDFs\n- Computation of Checkerboard Copula Regression (CCR) and Prediction based on CCR\n- Implementation of Checkerboard Copula Regression Association Measure (CCRAM) and the Scaled CCRAM (SCCRAM)\n- Bootstrap functionality for CCR-based prediction, CCRAM and SCCRAM\n- Permutation testing functionality for CCRAM & SCCRAM\n- Vectorized implementations for improved performance\n- Rigorous Edge-case Handling & Unit Testing with Pytest \n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "This package is for discrete copula modeling and implementation of new scoring methods pertaining to ordinal and categorical discrete data.",
"version": "0.6.1",
"project_urls": {
"Homepage": "https://github.com/dmavani25/discopula"
},
"split_keywords": [
"discrete-copula"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "06f83c3b4125fc58fa9c78a97bc0d1dec45b6abf2e310637e7f4e2a4a0b4b669",
"md5": "ca1e8450fd4bbff0ae706ae247fe3c50",
"sha256": "5844b5d3b1580625722053d80a9549ff68365f1115fa598e913d40d779f45415"
},
"downloads": -1,
"filename": "discopula-0.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ca1e8450fd4bbff0ae706ae247fe3c50",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 22232,
"upload_time": "2025-02-12T05:27:38",
"upload_time_iso_8601": "2025-02-12T05:27:38.698845Z",
"url": "https://files.pythonhosted.org/packages/06/f8/3c3b4125fc58fa9c78a97bc0d1dec45b6abf2e310637e7f4e2a4a0b4b669/discopula-0.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b1073ad45841bec6010998ae4618c590d1db74d85f377cd1152041e7491aa817",
"md5": "2d7addefcd73b865438037d125b2d6cb",
"sha256": "3d022898e3c1b0d176a0e93e3913e056dd7af1c63ce1afd3bd2ebde62220d451"
},
"downloads": -1,
"filename": "discopula-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "2d7addefcd73b865438037d125b2d6cb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 20329,
"upload_time": "2025-02-12T05:27:40",
"upload_time_iso_8601": "2025-02-12T05:27:40.529382Z",
"url": "https://files.pythonhosted.org/packages/b1/07/3ad45841bec6010998ae4618c590d1db74d85f377cd1152041e7491aa817/discopula-0.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-12 05:27:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dmavani25",
"github_project": "discopula",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "numpy",
"specs": []
},
{
"name": "scipy",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "pandas",
"specs": []
},
{
"name": "matplotlib",
"specs": []
},
{
"name": "coverage",
"specs": []
}
],
"tox": true,
"lcname": "discopula"
}