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-0.1.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for table15-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bcc6b31f705e6616f52f6e6e7ed5977d4cacffb1dba70ebe2ad2d4906b38b247
MD5 62be73e74861cdb72912f5bc9724763a
BLAKE2b-256 abec16bbf7c9a954e646efba920ef397409478eb574d04dfc8c7a087aea2f922

See more details on using hashes here.

File details

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

File metadata

  • Download URL: table15-0.1.0-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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 057b07123c7643fa42343ebff15de1bf57152bb700049c0a37057db4966bf53a
MD5 4d4086ff9851fdec93ace47930b6983f
BLAKE2b-256 42913288f50b3e32a8f5f3cc32c1f2a0bbbdf5459f4576ff26560c2bc72d9265

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