Repository navigation
snapshot-0608
Snapshot (Week 14 - 2025.06.08)
1. XAI Explanation API Integration (#14)
- Replaced mock
generate_explanation()function with actual inference. - Integrated with the ngrok-hosted Colab server to fetch real explanation results (
tokens,token_scores). - Added full SQLAlchemy model and CRUD for the
Explanationtable. - Explanation results are now stored as JSON-serialized fields (
Textcolumns). - Defined
ExplainationDataschema and connected it to/stock-info/expAPI response.
2. Modularization & Schema Refactor for Regression (#15)
-
Split the original
/stock-infoendpoint into three focused APIs:/stock-info/basic: Returns chart and news data/stock-info/pred: Returns numerical regression prediction/stock-info/exp: Returns model explanation
-
Refactored
PredictionDataschema from classification to regression (result: float). -
Removed
StockInfoWrapperand unified response format to simple JSON payloads.