52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[project]
|
|
name = "models"
|
|
version = "0.1.0"
|
|
description = "train()/predict() interfaces for the CaCu, CaMa and TEA screening models."
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"persistance",
|
|
"extraction",
|
|
"mlflow>=2.9",
|
|
# The model DAGs (`models/pipelines`): each function a node, each parameter an edge.
|
|
"apache-hamilton>=1.90",
|
|
# Cohort builds are Parquet files, read and written as frames.
|
|
"pandas>=2.0",
|
|
"pyarrow>=15",
|
|
"scikit-learn>=1.4",
|
|
# The values of the cohort and estimate files (`models.io.contracts`).
|
|
"pandera>=0.20",
|
|
"tea",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# Reading the EEG baselines' reference cohort from the cluster's S3 (`models.tea.eeg.train`).
|
|
eeg-reference = ["tea[s3]"]
|
|
# Running uploaded notebooks without Quarto (models.io.rendering.JupyterRenderer, models.pipelines.experiment).
|
|
notebooks = [
|
|
"nbclient>=0.10",
|
|
"nbconvert>=7.16",
|
|
"ipykernel>=6.29",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
persistance = { path = "../Persistance", editable = true }
|
|
extraction = { path = "../Extraction", editable = true }
|
|
tea = { path = "libs/tea", editable = true }
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["models"]
|
|
exclude = ["**/notebooks"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"reportlab>=4.0",
|
|
"nbclient>=0.10",
|
|
"nbconvert>=7.16",
|
|
"ipykernel>=6.29",
|
|
]
|