Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Table 1.5 is a Python application that can generate a table that is adjunct to a typical Table 1 (association statistics). Table 1.5 goes beyond static association by analyzing the impact that a change in each single feature has to changes in the outcome.
Table 1.5 is a Python application that can generate a table that is adjunct to a typical Table 1 (association statistics). Table 1.5 goes beyond static association by analyzing the impact that a change in each single feature has to changes in the outcome.
Use the package manager pip to install Table1.5.
pip install table15
table15
├── LICENSE
├── README.md
│ ├── __init__.py
│ ├── magec_sensitivity.py
│ ├── mimic_queries.py
│ ├── mimic_utils.py
│ ├── rbo.py
│ └── table15
│ ├── __init__.py
│ ├── __main__.py
│ ├── magec_utils.py
│ ├── pima_utils.py
│ ├── pipeline_utils.py
│ ├── runner.py
│ ├── utils
│ │ ├── __init__.py
│ │ ├── data_utils.py
│ │ ├── magec_utils.py
│ │ ├── model_utils.py
│ │ ├── pima_utils.py
│ │ └── pipeline_utils.py
│ └── viewer.py
├── pyproject.toml
├── src
│ ├── __init__.py
│ ├── data
│ │ ├── diabetes.csv
│ │ ├── healthcare-dataset-stroke-data.csv
│ │ └── linear_data.csv
│ ├── table15
│ │ ├── __init__.py
│ │ ├── __main__.py
│ │ ├── configs
│ │ │ ├── data_configs
│ │ │ │ ├── pima_full.yaml
│ │ │ │ ├── pima_lite.yaml
│ │ │ │ └── stroke_full.yaml
│ │ │ ├── model_configs
│ │ │ │ ├── deep_models_configs
│ │ │ │ │ └── multi_layer_perceptron_1.yaml
│ │ │ │ ├── ensemble_configs
│ │ │ │ │ ├── random_forrest_cc_1.yaml
│ │ │ │ │ └── voting_classifier_1.yaml
│ │ │ │ ├── linear_model_configs
│ │ │ │ │ ├── lr_1.yaml
│ │ │ │ │ ├── lr_2.yaml
│ │ │ │ │ └── lr_cv_1.yaml
│ │ │ │ └── svm_configs
│ │ │ │ ├── linear_svm_cc_1.yaml
│ │ │ │ └── svm_1.yaml
│ │ │ └── pipeline_configs
│ │ │ ├── linear.yaml
│ │ │ ├── pima.yaml
│ │ │ ├── stroke.yaml
│ │ │ └── synth_data.yaml
│ │ ├── configs.py
│ │ ├── models
│ │ │ ├── __init__.py
│ │ │ ├── deep_models.py
│ │ │ ├── ensemble_models.py
│ │ │ ├── linear_models.py
│ │ │ ├── model.py
│ │ │ ├── model_factory.py
│ │ │ ├── svm_models.py
│ │ │ └── test_linear_model.py
│ │ ├── perturbations
│ │ │ ├── __init__.py
│ │ │ ├── group_perturbation.py
│ │ │ ├── perturbation.py
│ │ │ └── z_perturbation.py
│ │ ├── runner.py
│ │ └── utils
│ │ ├── __init__.py
│ │ ├── data_tables.py
│ │ ├── magec_utils.py
│ │ ├── models_container.py
│ │ └── pipeline_utils.py
│ └── table15.egg-info
└── tests
├── configs
│ └── t_configs.yaml
├── test_perturbations.py
└── test_pipeline_utils.py
To generate Table 1.5, the main entry point is through runner.py
. This takes a single parameter pipeline_configs_path
, which contains arguments to run the pipeline, as well as references to other configs (Data Configs, Model Configs) that are necessary to run the pipeline.
Generate a Pipeline Configs yaml (example at src/table15/configs/pipeline_configs/stroke.yaml) that contains general parameters for the pipeline that are meant to be changed frequently for different runs.
Reference a Data Configs yaml (example at src/table15/configs/pipeline_configs/stroke.yaml) that references configs related to data and are meant to be more static (ie, we don't change the data arguments very often)
Also reference a set of Model Configs yamls (example at src/table15/configs/model_configs/linear_model_configs/lr_1.yaml), which almost never change except for tuning and when implementing a new model.
Together, these can be used to generate Table 1.5
import table15
table15.runner.run(`path_to_pipeline_configs_yaml`)
Issues and support can be directed to @KaleRP
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Author of this project is @KaleRP. Special thanks to @gstef80 for creating the original project this application was forked from. Another special thanks to @beaunorgeot for originally conceiving this project.
FAQs
Table 1.5 is a Python application that can generate a table that is adjunct to a typical Table 1 (association statistics). Table 1.5 goes beyond static association by analyzing the impact that a change in each single feature has to changes in the outcome.
We found that table15 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.