File size: 2,949 Bytes
f7d11f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c0ba94e
f7d11f7
b003d1d
 
f7d11f7
c0ba94e
b003d1d
c0ba94e
f7d11f7
 
 
26853f7
f7d11f7
 
 
 
 
 
 
c0ba94e
f7d11f7
 
c0ba94e
 
f7d11f7
c0ba94e
f7d11f7
 
 
 
c0ba94e
f7d11f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "predicting_outcomes_in_heart_failure"
version = "0.0.1"
description = "This project develops a predictive pipeline for patient outcome prediction in heart failure, using a publicly available dataset of clinical records. The goal is to design and evaluate machine learning models within a reproducible workflow that can be integrated into larger systems for clinical decision support. The workflow addresses data heterogeneity, defines consistent preprocessing and feature engineering strategies, and explores alternative modeling approaches with systematic evaluation using clinically relevant metrics. It also emphasizes model transparency and auditability, ensuring that the resulting pipeline can be deployed as a reliable, adaptable software component in healthcare applications. The project aims not only to improve baseline predictive performance but also to demonstrate how data-driven models can be effectively integrated into end-to-end AI-enabled healthcare systems."
authors = [
  { name = "CardioTrack" },
]

readme = "README.md"
classifiers = [
    "Programming Language :: Python :: 3",
    
]
dependencies = [
    "apscheduler>=3.11.2",
    "asttokens>=3.0.0",
    "boto3>=1.36.0",
    "botocore>=1.36.0",
    "dagshub>=0.6.3",
    "deepchecks>=0.19.1",
    "dvc-s3>=3.2.2",
    "dvc[s3]>=3.64.2",
    "gradio>=6.0.2",
    "great-expectations>=1.9.0",
    "httpx>=0.28.1",
    "huggingface-hub>=1.1.7",
    "imbalanced-learn>=0.14.0",
    "ipykernel>=7.1.0",
    "kagglehub>=0.3.13",
    "loguru",
    "matplotlib>=3.10.7",
    "mkdocs",
    "mlflow==2.22.0",
    "numpy<2",
    "pandas>=2.3.3",
    "pip",
    "prometheus-client>=0.23.1",
    "prometheus-fastapi-instrumentator>=7.1.0",
    "pytest",
    "pytest-html>=4.1.1",
    "python-dotenv",
    "ruff",
    "scikit-learn>=1.7.2",
    "seaborn>=0.13.2",
    "shap<0.50",
    "tqdm",
    "typer",
]
requires-python = "~=3.11.0"


[tool.ruff]
target-version = "py311"
line-length = 99
src = [
    "predicting_outcomes_in_heart_failure",
    "tests",
]
include = ["pyproject.toml", "predicting_outcomes_in_heart_failure/**/*.py", "tests/**/*.py",]
extend-exclude = [
  ".git/", ".venv/", ".ruff_cache/", ".mypy_cache/",
  "data/", "artifacts/", "mlruns/", "notebooks/.ipynb_checkpoints/",
]


[tool.ruff.lint]
# Enable sets of rules: basic style, static errors, import, upgrade, bugbear, simplify
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E203"]                 # compatibility with slicing and formatter
per-file-ignores = {"tests/**" = ["S101", "D"], "notebooks/**" = ["E402", "F401", "D"]}

[tool.ruff.lint.isort]
force-sort-within-sections = true

[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true          # format code inside docstrings


[dependency-groups]
dev = [
    "pynblint>=0.1.6",
    "ruff>=0.14.2",
]