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.0

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.0
File Size Uploaded Provenance Actions
lung_cancer_astra-0.1.0.tar.gz 25.1 kB Without provenance Details for lung_cancer_astra-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 54.0 kB

Release files / lung_cancer_astra-0.1.0.tar.gz

Download URL lung_cancer_astra-0.1.0.tar.gz
Size 25.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8647712eef83e8992468dea9aae087486f3024ff629adf5d5444cd1084c5ae8d
BLAKE2b-256 checksum
How to use checksums
a14614477da9e8f26aaa71e4ad4ae6c140711baa7199a6d962ed6fdfa26309b9
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.0-py3-none-any.whl

Download URL lung_cancer_astra-0.1.0-py3-none-any.whl
Size 28.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b5051f46c7a99870131e5d61c9960e126221c1de0de5e11e6edaee3eb37d8d4
BLAKE2b-256 checksum
How to use checksums
d638df601613398e2f9917094df3c66e37a8df1d9fe8db2665f645da4843a9a0
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.0

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