Skip to main content

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.

Project description

Table1.5

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.

Installation

Use the package manager pip to install Table1.5.

pip install table15

Code Structure

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

Usage

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`)

Support

Issues and support can be directed to @KaleRP

Contributing

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.

Authors and acknowledgment

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.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

table15-1.0.1.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

table15-1.0.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file table15-1.0.1.tar.gz.

File metadata

  • Download URL: table15-1.0.1.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for table15-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9a0e8c9c09f7a9bcc626e4dc880d8c35ae80f6c28177611ba3901beefd8ec267
MD5 39656bdc75a249ad5dc263cd0edb7a2f
BLAKE2b-256 987980893b1ac60862e550d0decef1097142d25c6e91b161a1482cb057a066ca

See more details on using hashes here.

File details

Details for the file table15-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: table15-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for table15-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86f23deb046b7978494e574965b8dde84a920f55cae49444825f7c5682c8ec3c
MD5 edd6eb0d9031ba30a1252b7d26903b78
BLAKE2b-256 d4dfd3fbd5e4f7d11e50f0f52c24575db26d3ad509c48b868fb310220a61c299

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page