Work

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.

Role
Machine Learning Engineer / Designer
Year
2023
Fields
AI / ML / Data / Optimization / UI / UX / Visual Design
Stack
  • Python
  • scikit-learn
  • Pandas
  • TensorFlow / Keras
  • Flask
  • Pytest
  • Docker
  • Figma
  • Adobe Premiere Pro
Financify logo: a stylised F made of three leaf shapes in shades of green, outlined in white on a green background
The Financify logo I designed for the 2023 app.

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

  1. Official inflation and food market prices are collected for each city.
  2. Recent months, the calendar and early-month food prices become features.
  3. A model forecasts next month's inflation for every city.
  4. The planner applies inflation to your savings goal.
  5. 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.

Financify web app showing Yogyakarta's forecast for October 2026: 0.28% month-to-month, flat versus September, with a 24-month chart and a ±0.44 pp error band
Step 1: next month's inflation for a city, against the last 24 months.
Savings planner with the Wedding goal selected: 150 million rupiah goal, 3 years 2 months to reach it, costing Rp166.2 million by then
Step 2: inflation adds Rp16.2 million and 4 months to a wedding goal.
The forecast card on a phone: city picker, 0.28% forecast, chart and the model's typical error
The forecast on mobile.
Planner result on a phone for a traveling goal: 4 months to goal, Rp30.3 million when reached
A planner estimate on mobile.
Line chart of the test period 2025-01 to 2026-09: actual inflation averaged across cities, the model's prediction and the naive baseline
Test period, mean across cities: the model (orange) against actual inflation and last month's value.
Eight screens of the 2023 Financify Android app design: home with finance tips, goal categories, prediction form and result, Finbot chat, sign-up and login
The 2023 Android app design. The web app keeps its palette and goal categories.
The 2023 Android app's calculation screen for Yogyakarta: 0 years 10 months to the goal, inflation trend up
The capstone build in 2023: the Android app calling the LSTM API.
Demo of the 2023 app: finance tips, goal categories and a calculation for Yogyakarta.
Finbot mascot in four expressions: joyful, happy, smile and angry
Finbot, the assistant mascot designed for the 2023 app.
Animated background made for the capstone presentation.
The go-to-market deck from the 2023 capstone.
The final presentation from the 2023 capstone.
The pitch deck from the 2023 capstone.
The Bangkit capstone team working together at a café, with one member joining by video call
Team CH2-PS231 during the 2023 capstone.

Faris Zaidan Nafis

Loading portfolio