Wednesday, Oct 14, 2026 • Data Exploration Final Coursework IEEE Paper

Kanin + Kamote

Understanding Pinoy Agricultural-Commodity Consumption Patterns for Digital Food-Diversification Initiatives

Main Research Question

Rice & Sweeetpotato Companion Staple Paradigm

"What can agricultural-commodity consumption patterns tell us about households that report kamote alongside rice, and how can those findings guide practical, responsible social-computing initiatives?"

RQ1 • Co-Reporting Baseline What do the 52,522 survey records show about rice–kamote co-reporting across locations, collection rounds, and household profiles?
RQ2 • Dietary & Sourcing Context How do other foods, dietary variety, and food-sourcing practices relate to reported kamote consumption?
RQ3 • ML Triangulation & Ablation Which findings remain informative after data-quality checks and three complementary classification methods (LR, RF, CatBoost)?
RQ4 • Social Computing Action What low-cost digital experiments and longer-term information systems (Project TIWALA) could test whether "Kanin + Kamote" messages are useful?

About

Dr. Armida P. Salazar

Professor • apsalazar@national-u.edu.ph

Peter-Paul "Kuya Pete" Gumpal, MM, CLSSGB

Learner/Researcher • gumpalpd@students.national-u.edu.ph

Course & Department

DITSPEC7 — Social Computing Algorithms & Techniques

College of Computing & Information Technologies

Empirical Foundation

PSA 2015–2016 Survey of Food Demand (SFD)

52,522 Total Records
49,004 ML Cohort
84 Predictors
Project TIWALA | Oct 14, 2026 Data Exploration

Why Staple Diversification Cannot Wait - The Multi-Billion Peso Stakes

Before diving into machine learning metrics, we must anchor our research in the urgent Philippine macroeconomic reality of October 2026: escalating foreign rice dependency, massive public-fund opportunity costs, and a population deriving over 50%+ of its daily energy from a single climate-vulnerable grain.

Breaking Trade News • Oct 8, 2026 Manila Standard (O. Campos)

"Philippines Wants US Rice": 100K MT (2027) to 200K MT/Year (2028)

On October 7, 2026, the Philippine Rice Industry Stakeholders Movement (PRISM) and the USA Rice Federation signed an MOU in Manila targeting 100,000 MT of US-origin rice in 2027 and 200,000 MT annually from 2028—adding to the country's ~4.7M MT total annual rice import dependency since the 1990s.

2027 Initial Target 100,000 MT ~₱3.6B – ₱4.5B Value
2028 Annual Target 200,000 MT ~₱7.2B – ₱9.0B / yr
Total PH Import Drain ~₱165B+ / yr ~4.7M MT Global Imports

*Valuation note: At landed/wholesale import parity (~$600–$650/MT or ₱36,000–₱45,000/MT retail equivalent), 200,000 MT represents ₱7.2B–₱9.0B flowing to foreign farmers annually.

Side-by-Side Fiscal Audit Comparison COA & Senate Probes (2025–2026)

The Public Spending Contrast: Billions Allocated vs. Agricultural Vulnerability

While rice paddies remain acutely vulnerable to El Niño, La Niña, and typhoons, state reviews of the ₱545.64 Billion Flood Control Budget (2022–2025) exposed massive governance gaps that could have transformed Philippine food security, healthcare, and education:

Unspecified Structures ₱350B+ 6,021 projects in probe
COA Flagged / Delayed ₱216B Non-completion & delays
Est. Economic Loss ₱118B 2023–2025 ghost projects

The Connection: We pour hundreds of billions into reactive infrastructure and foreign grain imports while neglecting low-cost, typhoon-resilient root crops (Ipomoea batatas) and evidence-based community nutrition systems.

Interactive Opportunity Cost Explorer Click to compare funds

What Could Those Billions Have Built for Filipinos?

Select a benchmark figure below to see how redirecting wasted or import-drained billions could strengthen our Health System, Education System, and Local Jobs:

Selected Fund Benchmark:

200K MT US Rice Import Deal (~₱7.6B/yr)

Primary Hospitals / RHUs

76

At ~₱100M per equipped Rural Hospital / Center

Public Classrooms

3,040

At ~₱2.5M per standard DepEd classroom

Annual Living-Wage Jobs

38,000

At ~₱200,000 annual rural/agri-tech livelihood

Root-Crop Processing Hubs

380

At ~₱20M per municipal curing/flour facility

Instead, our research shows how low-cost Social Computing & Digital Information Systems can catalyze demand-side dietary resilience without waiting for multi-billion-peso mega-projects.

"Kanin + Kamote" Impact Simulator PSA SFD Vol. 1 Baseline

What If Pinoys Replaced Just a Fraction of Daily Rice Energy with Kamote?

Filipinos derive 50%+ of their daily dietary energy from Rice, consuming 109.87 kg/person/year (2.11 kg/week) vs. only 4.53 kg/year of Kamote. Across ~115M Filipinos (~12.64M MT annual rice food demand), slide below to see what happens when households adopt Kanin + Kamote for a small fraction of their weekly meals:

5%
1% (~1 meal / 2 wks) 5% (~1 meal / wk) 10% (~2 meals / wk) 20% (~4 meals / wk)
Rice Demand Displaced

631,775 MT

Metric tons of milled rice per year

vs. 200K MT US Rice Deal

3.16x

More than offsets the entire 2028 US MOU!

Import Pesos Retained Locally

₱24.0 Billion

Redirected to Pinoy root-crop farmers

Per Capita Rice Shift

-5.49 kg/yr

Low-GI fiber boost for blood-sugar control

Key Takeaway: We don't need Pinoys to abandon rice. Even a 2% to 5% "Kanin + Kamote" companion habit wipes out the 200,000 MT US rice import quota while improving glycemic health!

Why We Went Back to the Drawing Board

Why Behavioral Baseline Mining Must Precede Opinion Mining

In Social Computing, jumping straight into Sentiment Analysis and Opinion Mining without knowing who already consumes kamote, where, and alongside what foods is like designing a campaign in the dark. Going back to the drawing board yielded a far stronger scientific foundation.

Initial Proposal (Premature Step)

Jumping Directly to Opinion Mining & Sentiment Analysis

  • Assumed the "Replacement" Myth Treated kamote as a competing substitute that must replace rice, rather than checking if households already eat them together.
  • No National Behavioral Baseline Small convenience surveys (n=378) or noisy social scraping cannot establish provincial, seasonal, or commodity co-consumption rates.
  • Unanchored Interventions Without knowing how geography, survey rounds, and other root crops interact, we wouldn't know which questions to ask in digital pilots.
Submitted Final IEEE Paper (Foundational Step)

Back to the Drawing Board: Evidence-to-Action Social Computing

  • Proved "Kanin + Kamote" Coexistence (n=52,522): Discovered that 92.4% of kamote-eating observations also consume rice in the same week—reframing our entire outreach paradigm!
  • Auditable ML Triangulation (LR, RF, CatBoost): Used 3 classifiers and ablation tests to prove that context (geography + round) dominates, while historical food logs cannot explain personal motivation.
  • Justifies Next-Stage Opinion Mining via Project TIWALA: Pinpoints the exact unanswered behavioral questions (Michie's Behavior Change Wheel) that opt-in digital surveys must now measure.
Project TIWALA | Oct 14, 2026 Data Exploration

Conceptual Model: Input–Process–Output (IPO) Social Computing Loop

Connecting PSA historical consumption evidence to testable digital services and future opt-in sentiment/behavior feedback (informed by Michie et al.'s Behavior Change Wheel: Capability, Opportunity, Motivation).

1

[INPUT] What People Already Report

Public-use microdata from the PSA 2015–2016 Survey of Food Demand (SFD):

  • 52,522 household-round observations
  • 4 quarterly collection rounds (Aug, Nov, Feb, May)
  • 55 named agricultural food commodities
  • Demographics, food sourcing & meal patterns
2

[PROCESS] What Patterns Can We Trust?

Auditable data engineering & scientific triangulation:

  • Raw → 8 Canonical Tables → 84-Feature Mart
  • Zero target leakage (all camote fields excluded)
  • 3 Complementary Classifiers (LR, RF, CatBoost)
  • Context & Dietary Ablations
3

[OUTPUT] What Could We Try Next?

Evidence-to-action social computing blueprint:

  • Area-level privacy-aware consumption dashboard
  • DOST-FNRI reviewed "Kanin + Kamote" recipes
  • Project TIWALA pilots (A.N.A.K. & Rice UPPP!)
  • Opt-in community feedback & opinion sensing
PROPOSED FEEDBACK LOOP (Future Work): Measure comprehension, voluntary recipe trial, sentiment, and repeat use with explicit user consent (RA 10173 Data Privacy Act) and new survey waves.
Closes the Loop
The Data & Architectural Trials (IEEE Section III & PSA SFD Vol. 1)

Auditable Data Engineering - From 52,522 Raw Records to Canonical Truth

Instead of quietly dropping difficult records, our pipeline maps raw PSA public-use microdata into 8 linked canonical tables and a leak-free 84-predictor analytical feature mart.

PSA SFD Staple Dominance

91.88%

Households Citing Rice as Staple

93.39% consumed plain rice (109.87 kg/yr per capita; 113.0 kg rural vs 102.3 kg urban; 88.24% bought).

#1 Preferred Root Crop

24.30%

Households Consuming Kamote

Ahead of White Potato (15.49%), Cassava (13.19%), and Gabi (11.48%). Avg 4.53 kg/yr (17.33 kg/yr in Zamboanga Pen.).

Why Substitute Kamote?

49.76%

Cite "Preference" Over Rice

Per PSA Table 12.2: 49.76% nationally (and 75.21% in NCR!) substitute kamote because it is preferred, vs only 8.73% due to rice unaffordability.

Household Rice Wastage

18.32 kg

Non-Human / Wasted Rice per HH/Yr

PSA Tables 13.1–13.3: 1.68 kg spoiled/wasted + 11.26 kg leftovers fed to pets + 5.38 kg purposely cooked for pets/animals yearly.

Raw-to-Canonical-to-Analytical Architecture

Following Appendix C (Steps C1–C5), we engineered a reproducible pipeline that preserves source lineage and prevents target leakage:

1. Raw Layer (PSA Public-Use Microdata)

Mapped two-level questionnaire headers across 4 survey rounds (Aug 2015, Nov 2015, Feb 2016, May 2016) covering 80 provinces + NCR.

2. Canonical Layer (8 Linked Tables)

Normalized into 8 relational CSV tables: Households, Members, Food Commodities, Rice/Corn Waste, Rice Substitution, Substitution Reasons, Substitution Foods, and Meal Patterns—storing conformance flags instead of silently deleting rows.

3. Analytical Layer (Shared-v2 Feature Mart)

Denormalized 84 approved predictors. All direct kamote fields (quantity, price, source, substitution status) were strictly excluded to prevent target leakage.

IEEE Paper Table I

Record Reconciliation & Partition Protocol

Strict Audit Lineage
Pipeline Stage / Subset Records Kamote + Rice Methodological Note
Source household-round records 52,522 11,542 (21.98%) 12,487 total kamote-positive (92.4% also ate rice)
Rice-consuming records 49,064 11,542 (23.52%) Excludes 3,458 non-rice observations
ML Cohort (Valid member data) 49,004 11,527 (23.52%) 60 records excluded due to member-data check
↳ Primary Development Split (80%) 39,203 9,221 (23.52%) Sub-split into 29,402 fit (3-fold CV) + 9,801 val
↳ Internal Model-Validation Split 9,801 2,306 (23.53%) Matched benchmark for LR, RF & CatBoost
↳ Historical Exploratory Test Split (20%) 9,801 2,306 (23.53%) Examined in Exp. 1; disclosed as non-untouched
Analytic Unit Integrity Note: Each household_id is a unique record identifier per survey round, not a verified cross-round physical household link. We therefore analyze household-round observations and treat random splits as exploratory.
The Empirical Discoveries (Answering RQ1 & RQ2)

Coexistence, Not Replacement: What the 52,522 Records Reveal

Our descriptive mining overturns the assumption that kamote competes against rice. Instead, 92.4% of all kamote-reporting households also consumed rice in the same week—varying significantly across survey rounds, regions, and root-crop familiarity.

IEEE Figure 2 n = 52,522

Four Household Co-Consumption Groups

Unweighted share of all 52,522 household-round observations during the 7-day recall window.

Crucial Proof for "Kanin + Kamote": Out of 12,487 kamote-positive records (21.98% + 1.80%), 11,542 (92.4%) also reported rice! Only 1.80% ate kamote without rice.
IEEE Figure 3 n = 49,004

Kamote Co-Reporting Across 4 Survey Rounds

Share of eligible rice-consuming observations also reporting kamote in each quarterly wave.

10.67-Point Swing: Co-reporting rises from 18.61% in Aug 2015 (2,325/12,490) to 29.28% in Feb 2016 (3,550/12,126)—highlighting why timing and harvest cycles matter.
IEEE Figure 4 RQ2 Synergy

Kamote Rate by Other Root-Crop Variety

Comparing unweighted vs. provisional survey-weighted kamote rates by non-kamote root crop count (cassava, gabi, white potato).

Dietary Synergy Clue: Households eating 2+ other root crops co-report kamote at 42.33% (40.44% weighted) vs. 19.48% for those eating none—an ideal entry point for recipe pilots!

Household Size Scaling

Provisional weighted kamote co-reporting rises from 18.69% (1–2 members) to 30.45% (7+ members). Per PSA Table 14, 12+ member households eat 9.31 kg/yr per capita.

Urban vs. Rural Nuance

Rural households consume more kamote overall (5.26 kg/yr vs 2.78 kg/yr urban), but 97.87% of urban kamote-eating households also eat rice (vs 91.26% rural).

Regional & Sourcing Hotspots

Nationally, 60.46% buy kamote and 26.57% produce their own (PSA Table 6.05). Top consumers: Zamboanga Pen. (17.33 kg/yr), Bicol (8.93 kg/yr), and Eastern Visayas (6.86 kg/yr).

Algorithmic Triangulation & Ablation (Answering RQ3)

Three Classifiers as Due-Diligence Cross-Checks—Not a Trophy Hunt

We evaluated Logistic Regression, Random Forest, and CatBoost on the exact same 84 approved predictors (29,402 fit records; 9,801 internal validation records) to test whether household patterns hold predictive signal and where redundancy lies.

Experiment 1 • Linear Family Val AUC: 0.7158

Logistic Regression (LR)

Regularized linear baseline that combines mostly additive relationships across the 84 predictors.

• 3-Fold CV ROC-AUC: 0.7169 (AP: 0.4488)
• Train AUC: 0.7279 → Val AUC: 0.7158
• Train–Val Gap: 0.0122 (Lowest overfitting)
• Val Brier: 0.1589 | Mean Pred: 0.2360
Experiment 2 • Bagging Ensemble Val AUC: 0.7181

Random Forest (RF)

Aggregates 150 randomized decision trees (max_depth=16, min_samples_leaf=10, max_features=0.40) selected from 6 CV configs.

• 3-Fold CV ROC-AUC: 0.7128 (AP: 0.4338)
• Train AUC: 0.8809 → Val AUC: 0.7181
• Train–Val Gap: 0.1628 (Highest overfitting)
• Val Brier: 0.1591 | Mean Pred: 0.2361
Experiment 3 • Gradient Boosting Val AUC: 0.7267 ★

CatBoost Classifier

Builds sequential trees (400 iterations, depth=6, lr=0.05, L2=5) to correct prior errors and handle categorical geography natively.

• 3-Fold CV ROC-AUC: 0.7272 (AP: 0.4590)
• Train AUC: 0.7914 → Val AUC: 0.7267
• Val AP: 0.4688 | Val Brier: 0.1570 (Best)
• Bootstrap vs LR: +0.0110 AUC [+0.0061, +0.0154]
IEEE Table III & Matched CV

Cross-Classifier Performance Benchmark

Comparing Train ROC-AUC, 3-Fold CV ROC-AUC (n=29,402), and Internal Validation ROC-AUC (n=9,801). Notice Random Forest's large train–validation overfitting gap (0.1628).

IEEE Figure 5

Within-Round Validation ROC-AUC

4 Survey Subgroups

CatBoost leads in every round (highest in May 2016 at 0.7396 and Aug 2015 at 0.7328; weakest in Nov 0.7017 and Feb 0.7011), proving why a single national metric hides seasonal/round variation.

IEEE Figure 6

CatBoost Feature Attribution

Normalized PredictionValuesChange across top 15 individual predictors: Province (13.12), Region (8.44), and Survey Round (7.95) lead, followed by Other Food Variety (4.44) and Cassava Consumed (3.13).

IEEE Figure 7

The Ablation Revelation: Attribution ≠ Incremental Value

When we sum importance across 54 individual foods (29.36%), they look huge. Yet when we remove all 54 foods + 7 diversity summaries and retrain CatBoost (Step Q), ROC-AUC drops by only -0.0076 (from 0.7267 to 0.7191)! Removing Geography + Round drops ROC-AUC by -0.0577 (to 0.6690)—over 7.5x larger loss!

Retrained CatBoost Configuration Kept ROC-AUC AP Δ AUC
Full Model (All 84 Approved Predictors) 84 0.7267 0.4688 0.0000
Exclude 7 dietary-diversity summaries 77 0.7265 0.4679 -0.0002
Exclude 54 individual non-kamote foods 30 0.7231 0.4595 -0.0037
Exclude 54 foods + 7 diversity (23-feat model*) 23 0.7191 0.4525 -0.0076
Exclude survey round 83 0.7103 0.4577 -0.0164
Exclude geography (province & region) 82 0.6812 0.4122 -0.0456
Exclude geography + survey round 81 0.6690 0.4043 -0.0577
Answering RQ4 • IEEE Section V & VI)

From Data Science to Social Computing - The Project TIWALA Blueprint

Because historical commodity records cannot tell us who decided what to cook, why, or which digital message persuades families, our paper translates these findings into a 5-part Information System Blueprint and concrete pilots under Project TIWALA (www.tiwala.org.ph).

Community-Driven Testbed

Project TIWALA Ecosystem

Rather than labeling or targeting individual households from historical 2015–2016 predictions, Project TIWALA hosts voluntary, consent-based digital services protected under Republic Act No. 10173 (Data Privacy Act of 2012):

A.N.A.K. Initiative

Nutrition & Recipes

Alalay sa Nutrisyon at Kalusugan

Hosts DOST-FNRI Pinggang Pinoy-aligned, culturally familiar "Kanin + Kamote" recipe cards (e.g., breakfast pairings, cassava/root-crop combos) and non-clinical glycemic explanations.

Rice UPPP! Platform

Supply & Crowd-Sensing

Ulat Produkto at Pagkaing Pinoy

Connects local commodity availability, municipal market price signals, and community-supplied questions—bridging supply bottlenecks with household demand.

Strictly Opt-In & Aggregated www.tiwala.org.ph

5-Part Information-System Blueprint (IEEE Section V-C)

How our completed data-mining pipeline evolves into an interactive Social Computing system where Opinion Mining & Sentiment Analysis now operate with high precision:

1

PSA Data-Ingestion & Quality-Check Module

Automated schema mapping, canonical table validation, and audit-flag preservation ready to ingest future PSA SFD waves (including a possible 2025–2026 release).

2

Aggregated, Privacy-Aware Area & Round Dashboard

Visualizes regional co-consumption patterns, seasonal survey rounds, and root-crop synergies for LGUs and researchers without exposing individual households.

3

Nutritionist-Reviewed Local Content & Recipe Library

Culturally familiar "Kanin + Kamote" explainers tailored to local cooking habits (home-prepared vs. bought) and reviewed by DOST-FNRI / nutrition specialists.

4

Opt-In Surveys & Social-Channel Feedback (Where Sentiment Mining Enters!)

Two-question micro-surveys and Taglish sentiment/opinion mining capturing taste, convenience, cost, stigma, and family roles directly from consenting participants.

5

Behavioral Learning Loop (Comprehension → Trial → Repeat Use)

Evaluates whether digital messages actually shift voluntary kitchen trials (comparing e.g. breakfast kamote recipes vs. affordable side-dish framing).

IEEE Paper Table IV

Practical Evidence-to-Action Roadmap

Accountable Partners & Measurable Metrics
Horizon Proposed Lead & Partners Suggested Digital or Community Action What to Measure (Metrics)
0–3 Months Project TIWALA + LGU / University Publish a simple area-level dashboard and expert-reviewed "Kanin + Kamote" explainers Reach, understanding, opt-in interest
0–6 Months A.N.A.K. + DOST-FNRI Partner Test accessible, culturally familiar recipe cards and non-clinical nutrition explanations Comprehension, recipe trial, feedback
3–12 Months Rice UPPP! + DA / DTI / LGU Explore community-supplied food availability and public commodity-market price data Coverage, accuracy, user value
6–18 Months Project TIWALA + Academe Run consent-based household interviews and randomized digital-message pilots (ABSA / NLP ready) Willingness, observed trial, repeat use
Long Term PSA + Research Partners Map newer surveys (e.g., 2025–2026 SFD wave), recover household linkage, and test transferability Schema audit, independent replication
Methodological Transparency & IEEE Appendices A–D

Methodological Limitations, C1–C8 Workflow & AI Disclosure

1 Key Limitations (Sec. VI-A)

1. Co-Reporting ≠ Replacement

The target is reported household kamote consumption during the same 7-day recall window as rice—not proof that kamote was eaten at the same meal or intended to replace rice.

2. Cross-Round Household Linkage

Unique derived household_id values identify 49,004 rows, not verified independent physical households across the 4 rounds. Record-level splits may therefore be slightly optimistic.

3. Unweighted ML Metrics

Full PSA two-stage stratification and PSU sampling weights were not embedded in ML loss functions; bootstrap intervals are conditional and exploratory.

4. Repeated Validation Consultation

Both the 9,801 historical test split and the 9,801 internal validation split were consulted across Steps D–Q. Confirmatory claims require a genuinely unseen wave or recovered household-grouped split.

2 C1–C8 Pipeline (App. C)

C1. Raw Intake & Identity: Preserve unmodified PSA files, hashes, and 4 rounds; do not treat derived IDs as cross-round links.
C2. Canonicalization: Standardize 2-level headers into 8 linked canonical tables with quality flags stored separately.
C3. Feature Engineering: Build 84-feature household view; strip all direct kamote target fields to prevent leakage.
C4. Cohort & Missingness: Reconcile 52,522 → 49,064 → 49,004 records (documenting 60 demographic exclusions).
C5. Split Integrity Redesign: Label random record-split results exploratory until original PSA household serial keys are linked.
C6. Training & Tuning: Lock common 84-feature registry, seeds, and CV folds for LR, RF, and CatBoost.
C7. Validation & Diagnostics: Report ROC-AUC, AP, Brier, calibration (mean pred ~0.2333 vs 0.2353 actual), round splits & ablations.
C8. Deployment Readiness: Enforce RA 10173 consent, specialist nutrition review, and aggregated reporting via Project TIWALA.

3 AI Disclosure & Reproducibility (App. B & D)

Appendix B: AI-Assisted Writing & Coding Disclosure

Generative AI was used strictly as a supporting writing, terminology-learning (e.g., distinguishing gradient descent from gradient boosting), and Python/Colab troubleshooting assistant—never as the source of survey numbers. All statistical outputs were verified directly against the researcher's Google Colab notebooks and official PSA SFD Volume 1 tables.

Appendix D: Reproducibility Artifacts

Complete reproducibility package preserves: (1) PSA SFD 2015–2016 source citation & questionnaire; (2) Raw-to-Canonical Python contract & 8 canonical CSVs; (3) Shared-v2 84-feature mart; and (4) Dedicated Google Colab notebooks for Logistic Regression, Random Forest, and CatBoost (Steps A–Q).