sensitivity

Sensitivity Analysis in Python - Gradient DataFrames and Hex-Bin Plots

https://github.com/nickderobertis/sensitivity

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
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Sensitivity Analysis in Python - Gradient DataFrames and Hex-Bin Plots

Basic Info
  • Host: GitHub
  • Owner: nickderobertis
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 4.37 MB
Statistics
  • Stars: 15
  • Watchers: 2
  • Forks: 1
  • Open Issues: 5
  • Releases: 4
Created over 6 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

sensitivity

Overview

Python Sensitivity Analysis - Gradient DataFrames and Hex-Bin Plots

It is common in financial modeling to conduct a sensitivity analysis on the model. This analysis runs the model changing the inputs values and collecting the outputs. Then the modeler can examine how the outputs change in response to the inputs changing. This library was created to ease this process, especially around visualization of the results.

While it was developed for financial modeling, it can be used with any function to understand how changing the inputs of the function affect the outputs.

Getting Started

Install sensitivity:

pip install sensitivity

A simple example:

```python from sensitivity import SensitivityAnalyzer

def mymodel(x1, x2): return x1 ** x_2

sensitivitydict = { 'x1': [10, 20, 30], 'x_2': [1, 2, 3] }

sa = SensitivityAnalyzer(sensitivitydict, mymodel) plot = sa.plot() styleddf = sa.styleddfs() ```

Links

See the documentation here.

Author

Created by Nick DeRobertis. MIT License.

Owner

  • Name: Nick DeRobertis
  • Login: nickderobertis
  • Kind: user

nickderobertis.com

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 56
  • Total Committers: 2
  • Avg Commits per committer: 28.0
  • Development Distribution Score (DDS): 0.036
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Nick DeRobertis w****p@g****m 54
TODO t****] 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 6
  • Total pull requests: 37
  • Average time to close issues: 2 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 5
  • Total pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.7
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 28
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nickderobertis (2)
  • thiagoguarino (1)
  • shubhamdhingra15s (1)
  • gitfeldhase (1)
  • kimes0726 (1)
Pull Request Authors
  • dependabot[bot] (28)
  • nickderobertis (9)
Top Labels
Issue Labels
Pull Request Labels
dependencies (28) enhancement (5) bug (2) documentation (2) maintenance (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 232 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 11
  • Total maintainers: 1
pypi.org: sensitivity

Python Sensitivity Analysis - Gradient DataFrames and Hex-Bin Plots

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 232 Last month
Rankings
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Stargazers count: 16.0%
Average: 16.4%
Downloads: 16.9%
Forks count: 29.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

Pipfile pypi
  • bs4 *
  • cruft *
  • jupyter *
  • matplotlib *
  • mypy *
  • pandas *
  • pypandoc *
  • pytest *
  • pytest-cov *
  • sphinx *
  • sphinx-autobuild *
  • sphinx-autodoc-typehints *
  • sphinx-copybutton *
  • sphinx-gallery *
  • sphinx-paramlinks *
  • sphinx-rtd-theme https://github.com/readthedocs/sphinx_rtd_theme.git#ab7d388448258a24f8f4fa96dccb69d24f571736
  • sphinx-sitemap *
  • sphinxcontrib-fulltoc *
  • twine *
Pipfile.lock pypi
  • 131 dependencies
.github/workflows/automerge.yml actions
  • actions/checkout v1 composite
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • dschep/install-pipenv-action v1 composite
  • nickderobertis/automerge-action merged-to-use-temporarily composite
  • nickderobertis/pypi-latest-version-action master composite
  • nickderobertis/todo-to-issue-action pr-support composite
  • peaceiris/actions-gh-pages v2.5.0 composite
  • pypa/gh-action-pypi-publish master composite
  • release-drafter/release-drafter v5 composite
.github/workflows/docs.yml actions
  • actions/checkout v1 composite
  • actions/setup-python v1 composite
  • codecov/codecov-action v1 composite
  • dschep/install-pipenv-action v1 composite
  • peaceiris/actions-gh-pages v2.5.0 composite
.github/workflows/package.yml actions
  • actions/checkout v1 composite
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • alstr/todo-to-issue-action v4.3 composite
  • codecov/codecov-action v1 composite
  • dschep/install-pipenv-action v1 composite
  • nickderobertis/pypi-latest-version-action master composite
  • peaceiris/actions-gh-pages v2.5.0 composite
  • pypa/gh-action-pypi-publish master composite
  • release-drafter/release-drafter v5 composite
.github/workflows/sync-labels.yml actions
  • actions/checkout v2 composite
  • micnncim/action-label-syncer v1 composite
.github/workflows/template-update.yml actions
  • JasonEtco/create-an-issue 5ee5d5edcd3777b7d5482d9342d3f08cd8daa3cd composite
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • dschep/install-pipenv-action v1 composite
  • nickderobertis/check-if-issue-exists-action master composite
  • peter-evans/create-pull-request v2 composite
setup.py pypi