Package with statistic criteria for PySATL
Project description
PySATL Criterion
This repository contains a collection of Python scripts and modules for performing various statistical tests. These tests are designed to help you analyze data, make inferences, and draw conclusions based on statistical methods. The repository is organized to be easy to use, modular, and extensible.
Installation
To use this repository, you need to have Python 3.9 or later installed on your system. You can install the required dependencies by following these steps:
Clone the repository:
git clone https://github.com/PySATL/pysatl-criterion.git
Install dependencies:
poetry install
You're all set! You can now import and use the statistical tests in your Python scripts.
PySATL Criterion module usage example:
Statistic calculation example:
# import needed criterion from pysatl_criterion
from pysatl_criterion.statistics import KolmogorovSmirnovNormalityGofStatistic
# make a criterion object
statistic = KolmogorovSmirnovNormalityGofStatistic(mean=0, var=1)
# initialize test data
x = [0.1, 0.7, 0.5, 0.3]
# then run algorithm
result = statistic.execute_statistic(x)
# print the results
print(f"Statistic result: {result}")
# output:
# Statistic result: 0.539827837277029
Documentation
We invite you to read the bot documentation to ensure you understand how the PySATL Criterion lib is working.
Please find the complete documentation on the PySATL Criterion website.
Support
Bugs / Issues
If you discover a bug in the PySATL criterion lib, please search the issue tracker first. If it hasn't been reported, please create a new issue and ensure you follow the template guide so that the team can assist you as quickly as possible.
For every issue created, kindly follow up and mark satisfaction or reminder to close issue when equilibrium ground is reached.
--Maintain github's community policy--
Feature Requests
Have you a great idea to improve the bot you want to share? Please, first search if this feature was not already discussed. If it hasn't been requested, please create a new request and ensure you follow the template guide so that it does not get lost in the bug reports.
Pull Requests
Feel like the PySATL criterion lib is missing a feature? We welcome your pull requests!
Please read the Contributing document to understand the requirements before sending your pull-requests.
Coding is not a necessity to contribute - maybe start with improving the documentation? Issues labeled good first issue can be good first contributions, and will help get you familiar with the codebase.
Note before starting any major new feature work, please open an issue describing what you are planning to do. This will ensure that interested parties can give valuable feedback on the feature, and let others know that you are working on it.
Important: Always create your PR against the develop branch, not stable.
Software requirements
- Python >= 3.9
- poetry
- git
- virtualenv (Recommended)
Development
Install requirements
poetry install --with dev
Pre-commit
Install pre-commit hooks:
poetry run pre-commit install
Starting manually:
poetry run pre-commit run --all-files --color always --verbose --show-diff-on-failure
License
This project is licensed under the terms of the Apache License 2.0 license. See the LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysatl_criterion-1.0.0.tar.gz.
File metadata
- Download URL: pysatl_criterion-1.0.0.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cf0925250321d2b934944ee938e014435703f151c76142f9f6e17deafe2e38e
|
|
| MD5 |
2a0862a87e80068e61617aeb6a01cf57
|
|
| BLAKE2b-256 |
3c4ac7b5bcafc192b3c288f249191e3b3f49b1f7cd2007e1509a9618f26e691d
|
Provenance
The following attestation bundles were made for pysatl_criterion-1.0.0.tar.gz:
Publisher:
ci.yaml on PySATL/pysatl-criterion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysatl_criterion-1.0.0.tar.gz -
Subject digest:
1cf0925250321d2b934944ee938e014435703f151c76142f9f6e17deafe2e38e - Sigstore transparency entry: 1642992523
- Sigstore integration time:
-
Permalink:
PySATL/pysatl-criterion@28accd150ff78470605373f4801b7c546eb796ca -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/PySATL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@28accd150ff78470605373f4801b7c546eb796ca -
Trigger Event:
release
-
Statement type:
File details
Details for the file pysatl_criterion-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pysatl_criterion-1.0.0-py3-none-any.whl
- Upload date:
- Size: 106.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea6a354c20793cc72d343ae3c129d2b873eff38069af3e9a38014b30e5cde4bf
|
|
| MD5 |
e9d63a5190147c16e7a2d32f732626ed
|
|
| BLAKE2b-256 |
d9174e4ebd5e76b323bdaf6e1b0ff281c3854ea5e3192c99622635a5cfb068fc
|
Provenance
The following attestation bundles were made for pysatl_criterion-1.0.0-py3-none-any.whl:
Publisher:
ci.yaml on PySATL/pysatl-criterion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysatl_criterion-1.0.0-py3-none-any.whl -
Subject digest:
ea6a354c20793cc72d343ae3c129d2b873eff38069af3e9a38014b30e5cde4bf - Sigstore transparency entry: 1642992710
- Sigstore integration time:
-
Permalink:
PySATL/pysatl-criterion@28accd150ff78470605373f4801b7c546eb796ca -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/PySATL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yaml@28accd150ff78470605373f4801b7c546eb796ca -
Trigger Event:
release
-
Statement type: