candle-annotator/services/ml
Marko Djordjevic 76cb49e908 Migrate MLflow backend to PostgreSQL and fix .env loading
- Add python-dotenv loading in main.py so DATABASE_URL is read from .env
  before db.py module initializes
- Add MLFLOW_TRACKING_URI to .env.example pointing to PostgreSQL
- Add python-dotenv>=1.0.0 to pyproject.toml dependencies
- Initialize MLflow schema in candle_annotator PostgreSQL database

MLflow server now starts without filesystem deprecation warnings and
with full job execution support.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 21:34:31 +01:00
..
.dvc feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
app Migrate MLflow backend to PostgreSQL and fix .env loading 2026-02-20 21:34:31 +01:00
candle_ml.egg-info feat(ml): add TA-Lib annotation generation and import workflow 2026-02-15 19:18:28 +01:00
config fix(ml): complete ML pipeline fixes and setup 2026-02-15 21:29:54 +01:00
features code-review-fix task 15.4: add missing fallback return for volume indicators in talib_features.py 2026-02-18 20:58:47 +01:00
migrations Scope training run queries in FastAPI to filter by user ID (Task 14.3) 2026-02-20 18:38:18 +01:00
mlruns feat: add models/ and *.pkl to .gitignore, remove tracked model files from git history 2026-02-18 10:55:48 +01:00
training Scope MLflow experiment names to include user ID (Task 14.2) 2026-02-20 13:46:00 +01:00
.dvcignore feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
.env.example Migrate MLflow backend to PostgreSQL and fix .env loading 2026-02-20 21:34:31 +01:00
Dockerfile Fix ml-service volume permissions 2026-02-18 22:50:36 +01:00
entrypoint.sh Fix ml-service volume permissions 2026-02-18 22:50:36 +01:00
generate_talib_annotations.py code-review-fix task 14.5: remove duplicate TALIB_PATTERNS dict and import from single source 2026-02-18 20:55:14 +01:00
pipeline.py feat(ml): implement training stage with MLflow tracking and model wrappers 2026-02-15 14:22:19 +01:00
pyproject.toml Migrate MLflow backend to PostgreSQL and fix .env loading 2026-02-20 21:34:31 +01:00
talib_annotations.json fix(scripts): add created_at timestamps to annotation import 2026-02-15 19:36:55 +01:00
test_db_access.py fix: resolve numpy type conversion issues in ML service data access 2026-02-17 14:10:21 +01:00
uv.lock feat(ml): add TA-Lib annotation generation and import workflow 2026-02-15 19:18:28 +01:00