Files
models/pyproject.toml
T
edgar bc15cc3e04 dags: reading nodes for a cohort build, its members and their timeline
The timeline is cut at the build's clinical and load cut-offs, so the
read can be repeated. Adds apache-hamilton.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:19:03 +00:00

39 lines
968 B
TOML

[project]
name = "models"
version = "0.1.0"
description = "train()/predict() interfaces for the CaCu, CaMa and TEA screening models."
requires-python = ">=3.11"
dependencies = [
"persistance",
"extraction",
"mlflow>=2.9",
# The model DAGs (`models/dags`): each function a node, each parameter an edge.
"apache-hamilton>=1.90",
]
[project.optional-dependencies]
# Only needed to read back a checkpoint's own metadata (opset, producer) in
# models.export.inspect_onnx_metadata — writing/logging a checkpoint never
# requires it, see that module's docstring.
export = [
"onnx>=1.15",
]
[tool.uv.sources]
persistance = { path = "../Persistance", editable = true }
extraction = { path = "../Extraction", editable = true }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["models"]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"onnx>=1.15",
"reportlab>=4.0",
]