Skip to main content

lung-cancer-astra

Extracts 2048-dimensional features from 3D chest CT series with an I3ResNet-152 image backbone, then trains and evaluates a classifier within the cohort that a risk score labels as low risk.

  • Dependencies: only torch, numpy and pydicom (expected to be installed already).
  • Model weights are not included in the package; they are provided separately.
  • The code contains no paths. All settings are read from a single .env file.

Usage

pip install --no-deps lung-cancer-astra
python -m lung_cancer_astra --step kontrol --env /path/.env   # environment, settings, data check
python -m lung_cancer_astra --step manifest                   # label / score / DICOM list
python -m lung_cancer_astra --step cikar --gpus 0             # feature extraction (resumable)
python -m lung_cancer_astra --step birlestir                  # merge features into one file
python -m lung_cancer_astra --step egit                       # evaluation + final models

--no-deps keeps pip from touching the installed torch / numpy / pydicom.

Configuration

See the header of lung_cancer_astra/config.py for the .env keys (prefix LCA_). Relative paths in .env are resolved against the folder that contains the .env file.

Step names, setting keys and in-code comments are currently in Turkish.

Metadata

Release files for lung-cancer-astra 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lung-cancer-astra 0.1.5
File Size Uploaded Provenance Actions
lung_cancer_astra-0.1.5.tar.gz 25.7 kB Without provenance Details for lung_cancer_astra-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lung-cancer-astra 0.1.5
File Interpreter ABI Platform Actions
lung_cancer_astra-0.1.5-py3-none-any.whl Python 3 none any Details for lung_cancer_astra-0.1.5-py3-none-any.whl

Total release size: 55.1 kB

Release files / lung_cancer_astra-0.1.5.tar.gz

Download URL lung_cancer_astra-0.1.5.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3c6652de5b39aeafe39321867979d9eecdb9e01830199642be14b71522ccaef1
BLAKE2b-256 checksum
How to use checksums
ad8e92814347e60e48498e324eb61849def22f06433cb01557ffac878d795e99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / lung_cancer_astra-0.1.5-py3-none-any.whl

Download URL lung_cancer_astra-0.1.5-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b7e6af46bece9ddf3d616791732dc0420c96afe4e0d74cc924a4f3ef33cec9b
BLAKE2b-256 checksum
How to use checksums
dedc67fa758306fe81644ef2826a69dd10fb57514969c4e9bd6ce37b7456863f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for lung-cancer-astra 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page