Skip to content

Commit

Permalink
Merge pull request #5 from Serapieum-of-alex/numpy-versions
Browse files Browse the repository at this point in the history
Numpy versions
  • Loading branch information
MAfarrag authored Dec 25, 2022
2 parents b8a7d19 + 97f847b commit 1d7f0ad
Show file tree
Hide file tree
Showing 8 changed files with 901 additions and 230 deletions.
28 changes: 12 additions & 16 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context.
- List any dependencies that are required for this change.

Fixes # (issue)

- Fixes # (issue)
## Type of change

Please delete options that are not relevant.
Check relevant points.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
Expand All @@ -15,24 +17,18 @@ Please delete options that are not relevant.

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- Please describe the tests that you ran to verify your changes.
- Provide instructions so we can reproduce.
- Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B

**Test Configuration**:
* Firmware version:
* Hardware:
* Toolchain:
* SDK:

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] updated version number in setup.py/pyproject.toml
- [ ] updated environment.yml and the lock file
- [ ] added changes to History.rst
- [ ] updated the latest version in README file
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,4 @@ build_artifacts
.idea
mo_*
conda/
*.zip
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ History
------------------

* First release on PyPI.

0.1.7 (2022-12-26)
------------------

* lock numpy to version 1.23.5
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ statista

Main Features
-------------
-

- Statistical Distributions (GEV/GUMBL)
- Parameter estimation Lmoments/ML/MOM
- One-at-time (O-A-T) Sensitivity analysis.
- Sobol visualization
- Statistical Metrics

Future work
-------------
-

- More distributions


Installing statista
Expand All @@ -59,7 +61,7 @@ pip install git+https://github.com/MAfarrag/statista
## pip
to install the last release you can easly use pip
```
pip install statista==0.1.6
pip install statista==0.1.7
```

Quick start
Expand Down
1,047 changes: 861 additions & 186 deletions poetry.lock

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "statista"
version = "0.1.6"
version = "0.1.7"
description = "statistics package"
authors = ["Mostafa Farrag <[email protected]>"]
readme = "README.md"
Expand All @@ -23,28 +23,29 @@ classifiers=[


[tool.poetry.dependencies]
python = ">=3.9,<3.12"
matplotlib = "^=3.5.3"
pandas = "^=1.4.4"
scipy = "^1.9.1"
scikit-learn = "^=1.1.1"
python = ">=3.9,<3.15"
numpy = "1.23.5"
matplotlib = "^3.5.3"
pandas = "^1.4.4"
scipy = "^1.9.0"
scikit-learn = "^1.1.1"
loguru = "^0.6.0"



[tool.poetry.dev-dependencies]
pytest = "^7.1.3"
pytest-cov = "^3.0.0"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pre-commit = "^2.20.0"
black = "^22.8.0"
black = "^22.12.0"
flake8-bandit = "^4.1.1"
flake8-bugbear = "^22.9.11"
flake8-bugbear = "^22.12.6"
flake8-docstrings = "^1.6.0"
flake8-rst-docstrings = "^0.2.7"
pep8-naming = "^0.13.2"
flake8-rst-docstrings = "^0.3.0"
pep8-naming = "^0.13.3"
darglint = "^1.8.1"
reorder-python-imports = "^3.8.2"
pre-commit-hooks = "^4.3.0"
reorder-python-imports = "^3.9.0"
pre-commit-hooks = "^4.4.0"


[tool.poetry.scripts]
Expand Down
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

3 changes: 0 additions & 3 deletions statista/sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
@author: mofarrag
"""
# import Hapi.visualizer as V
import matplotlib.pyplot as plt
import numpy as np

# Vis = V.Visualize(1)


class Sensitivity:
"""Sensitivity.
Expand Down

0 comments on commit 1d7f0ad

Please sign in to comment.