AL-mozahem's picture
Upload HRP Stage 01 model
cf23d85 verified
Raw History Blame Contribute Delete
395 Bytes
"""Run saved Stage 01 LDA model on the provided synthetic example."""
from pathlib import Path
import json
from src.predict import predict_cancellation
sample = json.loads((Path(__file__).resolve().parent / 'integration' / 'request_example.json').read_text(encoding='utf-8'))
result = predict_cancellation(sample.get('features', sample))
print(json.dumps(result, indent=2, ensure_ascii=False))