Financify — Inflation Forecasting
Pick one of 82 Indonesian cities to see next month's inflation forecast, then what a savings goal will cost after inflation and how long it takes to reach. It began as a 2023 Bangkit capstone (an LSTM behind a Flask API for an Android app) and was later rebuilt end to end.

01 / Problem
Inflation differs by city and is noisy month to month. The 2023 version used a hand-compiled dataset and was never compared with a baseline, so the rebuild had to beat simple guesses on unseen months and show how wrong it can be.
02 / How it works
- Official inflation and food market prices are collected for each city.
- Recent months, the calendar and early-month food prices become features.
- A model forecasts next month's inflation for every city.
- The planner applies inflation to your savings goal.
- You see what the goal will cost and how long it takes to reach.
03 / Tech & why
- BPS + Bank Indonesia PIHPS data
- Official month-to-month inflation for 82 cities (2008 onward) and daily prices for 10 foods, checked for duplicates, gaps and placeholder zeros.
- Lags, calendar and a food nowcast
- 12 months of lags, seasonality, Ramadan and Eid flags, and food price changes from the first 5 trading days of the target month.
- scikit-learn (Ridge, gradient boosting)
- Compared with naive and seasonal-naive baselines over 4 rolling yearly folds; a feature group stays only if it lowers validation error.
- Static page + Flask
- Every forecast is embedded in one bilingual page and the planner runs in the browser, so it needs no server. Flask serves the same page plus a JSON API.
- Pytest
- Tests data cleaning, leak-free features and splits, the API, and that the JavaScript and Python planners agree.
- Figma + Premiere Pro
- Designed the logo, the Finbot mascot and the 2023 app UI, and edited the capstone videos.
04 / Results
- 37% lower error than the naive baseline on held-out months.
- Live bilingual web app covering 82 Indonesian cities.
05 / Evaluation
Test period 2025-01 to 2026-09
The food-price nowcast gave the largest single gain. Errors are largest in policy-shock months, such as the early-2025 electricity discount (MAE 0.74 vs 0.99 for naive), and in small eastern cities.
- Model MAE
- 0.44 pp
- Naive MAE (last month)
- 0.69 pp
- Error reduction
- 37% vs naive
- Test set
- 82 cities, 1,722 city-months
06 / Limitations
A planning estimate, not financial advice
The model sees only each city's inflation history, the calendar and food prices: no fuel or electricity prices, exchange or policy rates. The planner assumes constant income, expenses and inflation, and no investment return.
Gallery








