File size: 683 Bytes
76562dd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """Stub entry point for training the ensemble blender.
The ensemble model expects per-item rows that include each pricer's
estimate plus the actual price. Build those rows in a notebook or
custom script first, then call `train_ensemble(rows)` directly.
"""
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
from dealsight_intelligence.pricing.train_ensemble import train_ensemble
if __name__ == "__main__":
raise SystemExit(
"Prepare calibration rows with Specialist, Frontier, NeuralNetwork, Min, Max, Actual, "
"then call dealsight_intelligence.pricing.train_ensemble.train_ensemble(rows)."
)
|