Commit Graph

58 Commits

Author SHA1 Message Date
AlbertoPMDM 70646e64b6 TEA EEG baselines trained on a local cohort and moved between installations as a bundle of group numbers 2026-11-20 09:36:41 -06:00
AlbertoPMDM 7b8a4e8499 TEA EEG baselines keep their artifacts under MLFLOW_ARTIFACT_ROOT, not in the working directory 2026-11-19 23:17:42 -06:00
AlbertoPMDM 3669aa9eae TEA EEG analysis at the age the EDF header gives, the patient's rows as fallback; tea library 0.2.0 2026-11-19 19:20:29 -06:00
AlbertoPMDM 25c460f80e feat(tea): EEG analysis and age baselines on the tea library, installed from the libs/tea submodule 2026-11-19 15:43:27 -06:00
Roberto Treviño Cervantes 7b2eae2782 wording fixes 2026-11-17 02:17:31 -06:00
roberto fc77fd625e Merge pull request 'Kit exit: CaCu model support for the entrenar/promote cycle' (#6) from feature/kit-exit-integration into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/6
2026-11-16 21:07:37 -06:00
Roberto Treviño Cervantes 55f036b53a Merge remote-tracking branch 'origin/feature/163-tea-redesign' into feature/kit-exit-integration 2026-11-15 00:47:01 -06:00
edgar 572b7561fa TEA's empty package goes; the CaMa screening cohort no longer cites the retired TEA one 2026-11-13 15:15:47 -06:00
edgar bd3d6fb199 Cohorts: their definitions, rules and builder, from the indicator kit 2026-11-13 15:15:47 -06:00
edgar 9ba7bdddb6 Follow Persistance's English names 2026-11-13 15:15:47 -06:00
Roberto Treviño Cervantes 11e768893e updating nlp policies; more robust recognition beyond rules 2026-11-13 11:52:51 -06:00
Roberto Treviño Cervantes 1b45bc61d7 fix governance reqs; allow for sandboxed jupyter notebooks for testing 2026-11-13 11:52:51 -06:00
edgar c50c3a081e TEA's empty package goes; the CaMa screening cohort no longer cites the retired TEA one 2026-11-12 15:21:25 -06:00
Roberto Treviño Cervantes ae2310754f Merge dev into staging 2026-11-11 07:26:51 -06:00
edgar a4ddad5c8e Cohorts: their definitions, rules and builder, from the indicator kit 2026-11-08 17:28:24 -06:00
edgar 55dd971a1f Follow Persistance's English names 2026-11-08 17:28:24 -06:00
edgar a8bbdc88af Merge pull request 'CaCu CIN2+ prototype, risk batches stored, report eda, cohorts list and show, pandera checks' (#5) from feature/model-proto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/5
2026-11-06 15:05:39 +00:00
edgar 5d65730b98 Value checks with pandera on cohort files, read and written, and on estimates, written and stored 2026-11-06 08:21:24 -06:00
edgar 71e77f0c7e models cohorts list and show: a cohort's builds from both sources, and one build's file, hash and lineage 2026-11-06 08:21:24 -06:00
edgar 15ffeb3efe models report eda: the exploratory notebook run on a build's file, rendered with Quarto and kept as an MLflow run of the notebook's experiment 2026-11-06 08:21:24 -06:00
edgar 761b5b03bc Estimates stored as batches of risks in the domain's database: models store and run --store; a kit file is read as dbt's only when its producer is dbt 2026-11-06 08:21:24 -06:00
edgar 22d1fda0f3 CaCu CIN2+ prototype: a CIN2+ biopsy within a provisional 12-month window, predicted from the index sample's results 2026-11-06 08:21:24 -06:00
edgar f070d9f037 Merge pull request 'Layout: per-domain folders, io, steps and pipelines, and one command line' (#4) from feature/model-proto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/4
2026-11-06 05:36:35 +00:00
edgar 3853cc5522 Training, estimating and running on dbt cohort builds: runs and versions record the cohort file they used 2026-11-05 18:21:06 -06:00
edgar 9808701c46 Cohorts built from dbt's rules and exported, an idempotent run command and estimate; io split by responsibility, with stored predictions moved into the registry and the ONNX check into tracking 2026-11-05 16:12:23 -06:00
edgar 0fdab3651c models train: train a model from the command line 2026-11-04 23:36:46 -06:00
edgar 37fb292a4f CaCu's dummy model in its own folder 2026-11-04 21:38:37 -06:00
edgar 1f6e2df051 Remove the model catalog and its interface 2026-11-04 20:47:34 -06:00
edgar 122f71105a Export reads the timeline from dbt's view 2026-11-04 20:39:53 -06:00
edgar 27e29804aa Model interface over frames and a model catalog 2026-11-04 20:39:52 -06:00
edgar 34de6e9348 Standalone export of a kit cohort build to Parquet 2026-11-04 18:32:07 -06:00
edgar 29fa8def2a Merge pull request 'Layout: per-domain folders, io, steps and pipelines, and one command line' (#3) from feature/model-proto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/3
2026-11-04 19:09:10 +00:00
edgar 2d22409e1f Layout: per-domain folders, io, steps and pipelines, and one command line 2026-11-04 12:48:41 -06:00
edgar ec85cae5aa Merge pull request 'Feature/model proto' (#2) from feature/model-proto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/2
2026-11-04 17:29:45 +00:00
edgar b06ff5ce52 notebooks: CaCu CIN2+ exploratory analysis of the surveillance cohort, from its build's Parquet file 2026-11-04 11:07:01 -06:00
edgar f08b249eae training: every run records the code's git commit; PROD logs only models defined in a module 2026-11-04 00:49:26 +00:00
edgar 0489475b86 training, registry: TrainingRun.log_model with modelo_sha, and registry.resolve 2026-11-03 21:34:40 +00:00
edgar ec36df6a2c Merge pull request 'Feature/model proto' (#1) from feature/model-proto into dev
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/models/pulls/1
2026-11-03 21:31:29 +00:00
edgar dd94aba1eb testing: CacuStandIn as a helper for other code's tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:20:15 +00:00
edgar 449c67b19d contract: only the contract after removing the stand-ins
Drops the helpers only the stand-ins used, tests the contract with an
estimator defined in the test, and updates the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:16:51 +00:00
edgar d6f7acc1fa STADIN not necessary for now 2026-11-03 21:15:15 +00:00
edgar 5fa931d92d dags: the timeline is always read with an explicit known_until
known_until is the build's conocida_hasta or, when the build has none,
the moment of the read; it's a node, so the run can record it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 20:27:05 +00:00
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
edgar c8bca59334 contract: translate the risk estimation contract to English
riesgo.py becomes contract.py: RiskEstimator, Risk, Provenance and the
CacuStandIn, TeaStandIn and CamaStandIn stand-ins. Fields that mirror
the batch columns keep their names, and the stand-ins' provenance is
unchanged. Tests say why each one exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:30:08 +00:00
edgar c11575f656 Merge feature/modelos-mlflow: the risk estimation contract and its stand-ins
riesgo_logistico.py stays out until the first real model; README and
pyproject keep main's side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:28:36 +00:00
Roberto Treviño Cervantes f9d3b8f67e reorganization 2026-10-31 12:48:09 -06:00
Roberto Treviño Cervantes 6e8ed1003d drop cohort builder plumbing; use kit cohorte_armado builds for MLflow lineage 2026-10-30 11:19:21 -06:00
Roberto Treviño Cervantes cbb3b9c7b6 integration layer; merge work on indicators from forks with existing ingestion pipeline 2026-10-23 00:00:13 -06:00
edgar 28ff4605f3 MD-008: prueba de concepto del modelo CIN2+ con MLflow (riesgo_logistico)
Entrena una logística sobre el marco de cacu/cohorte_vigilancia, la registra en
MLflow (MLFLOW_TRACKING_URI; en el despliegue, el 9705) y la sirve a la arista
`estimar` con EstimadorMlflow, que verifica el sha del artefacto. Sin pacientes
en MLflow. mlflow-skinny fijado a la versión del servidor; mlflow completo solo
en dev para las pruebas con sqlite.

CSO5.5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:48:30 +00:00
rodrigo 2b855be12d Integra T-21h en models
CSO5.5

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