PTEN
Data scientist · Curitiba, Brazil

Caio
Goia

Caio Goia
fig. 0 — the author

Data scientist. I work with time series and machine learning, from statistical models to neural networks. Before that, I was a BI and data analyst, working with Power BI, Tableau and SQL.

summary

Data scientist with nearly 2 years of data experience in agribusiness, spanning BI, analytics and data science. I use Python (Pandas, NumPy, scikit-learn) and SQL daily and build statistical and time series models in statsmodels and neural networks in PyTorch and TensorFlow/Keras. BSc in Computer Science (UTFPR) with a thesis on deep learning; postgraduate program in generative AI in progress. Advanced English.

section 01

Profile

Who I am, in a few lines.

location
Curitiba, Brazil
focus
time series, risk and climate in agribusiness
in data since
March 2025
latest role
Mid-level Data Analyst · INTECSO, until Dec 2026
education
BSc in Computer Science · UTFPR
studying
Postgraduate program in Generative AI · UTFPR, until 2028
languages
native Portuguese · advanced English
day to day
Python · SQL · statsmodels · PyTorch
section 02

Experience

Where I have worked and what I delivered in each role.

  1. INTECSOSep — Dec 2026

    Mid-level Data Analyst

    Lab sample forecasting. A 6-month forecast of the lab's weekly sample volume, by commodity and in total. Before the network, I set up the baselines (seasonal naive, ETS, Theta and SARIMA) and tested everything in a 20-origin backtest. The LSTM was kept only on the series where it beat them: on soybean meal, a monthly WAPE of 12.7%, half the error of the seasonal naive (25%). In an out-of-sample test, with the forecast frozen in advance, the error on the total was 3x lower than the naive's. I owned the whole workflow, from SQL over 8 years of MyLIMS history to production.

    Python · SQL · statsmodels · PyTorch · TensorFlow/Keras · LightGBM · MyLIMS
  2. INTECSOMay — Sep 2026

    Mid-level BI Analyst

    Safety stock. Reorder points and safety stock for 2,100+ supplies, based on average monthly consumption and its standard deviation over the lead time. The dashboard flags supplies that are out of stock. Once the fixed lead time was replaced by each product's actual lead time, the number of items flagged as critical fell to less than half. I also warned management that the method does not work for sporadic consumption.

    Cash flow. Combines accounts payable, accounts receivable and bank balances from Protheus, with rules validated by the finance team and a projection of recurring payments to 36 suppliers. The projection rule came from a backtest: the median, which looked like the safest choice, was the worst, because the series grows. I validated the dashboard to the cent against a rebuild in Python.

    Accounts receivable. While migrating to the Protheus base, I found that the renegotiation flag marks only the agreement currently in force, not the history. With the rule rebuilt, most overdue receivables came from clients who had already renegotiated, and that became a new chart in the dashboard.

    Ticket dashboard. Replaced a manual export with the Pipefy GraphQL API: 1,100+ tickets refreshed on their own twice a day. I showed that the apparent improvement in recent months was right censoring: the slow tickets were still open.

    Model optimization. A semantic model became 46% smaller without changing any metric, and its refresh time dropped from over 15 minutes to 10 seconds.

    In total, 20+ dashboards for finance, sales, logistics and the lab.

    Power BI · DAX · Power Query · GraphQL API · TOTVS Protheus · Pipefy
  3. Coamo AgroindustrialNov 2025 — Apr 2026

    Data Analyst

    Industrial plant dashboards. 5 dashboards built from scratch for the managers of 11 plants, covering production, performance and quality.

    Operational KPIs. Maintained 20+ dashboards, migrated dashboards from Power BI to Tableau and validated data across systems.

    Data. Optimized SQL and PL/SQL queries in Oracle and automated pipelines in Python.

    Tableau · Power BI · SQL · PL/SQL · Oracle · Python · Pandas · NumPy
  4. Coamo AgroindustrialMar — Nov 2025

    BI Intern

    Hands-on training in BI, ETL, dimensional modeling and SQL on industrial data. Promoted to Data Analyst after 8 months.

    SQL · ETL · dimensional modeling
  5. UTFPR2022 — 2025

    BSc in Computer Science

    Thesis. Deep learning to locate faults in transmission lines: LSTM, GRU and Mamba compared on 168,000 simulated events. The LSTM had a mean error of 0.90 km, and it was the first study to test Mamba on this problem.

    Python · PyTorch · TensorFlow · scikit-learn
section 03

Projects

Personal projects with real data. In all of them, validation never peeks at the future and the model is compared with the simplest method.

Hotel booking cancellations

119,000 bookings from two hotels in Portugal (2015–2017). Before modeling, I removed six columns that are only filled in after the booking: with them, validation AUC would rise from 0.815 to 0.875, using information the hotel does not have at that moment. On a time-based test set, 67% to 73% of the bookings the model flags as the riskiest 10% are canceled, against 35% at random.

LightGBM · scikit-learn · SHAP · pandas

Crop insurance claim risk

Public policies from PSR, Brazil's crop insurance subsidy program (2006–2025), joined with NASA POWER weather data and tested season by season over 11 seasons. Before planting, the model ranks risk better than the insurer's premium rate; with weather up to mid-season, LightGBM reaches an AUC of 0.695. API in production with monthly retraining.

LightGBM · scikit-learn · MLflow · FastAPI · Docker

Safra Risk Radar

Weather-based detector of soybean and corn crop failures: CONAB, IBGE and NASA POWER data through dbt (85 models, 78 tests) into BigQuery. In a walk-forward backtest, it catches about half of the failures; the trend line catches none.

Python · dbt · BigQuery · DuckDB · Streamlit
>>> results.summary()
                Out-of-sample results (vs. baseline)
==========================================================================
project                       metric        model   baseline          Δ
--------------------------------------------------------------------------
samples, soybean meal         monthly WAPE  12.7%      25.0%   −12.3 pp
crop insurance, pre-season    AUC           0.646      0.625     +0.021
crop insurance, with weather  AUC           0.695      0.625     +0.070
crop failure radar            recall          45%         0%     +45 pp
hotel cancellations           AUC           0.765      0.675     +0.090
bitcoin, direction            AUC            0.50       0.50          0
==========================================================================
baseline = the simplest method someone would use without a model
section 04

Lessons

Where the models did not work — and what that taught me. I publish it anyway.

  • ε₁In the sample forecast, the network lost on corn. There, the forecast comes from a 3-year seasonal average. I also tested 17 network setups and external variables (CONAB harvest data, CEPEA prices, Comex Stat exports): no gain passed the placebo test.
  • ε₂Bitcoin's direction is noise. With 250,000 candles, purged cross-validation and explicit costs, XGBoost stays at an AUC of 0.50. Volatility looks predictable until a one-line baseline beats the model. See the study ↗
  • ε₃Crop insurance is ranked, not predicted. The model tells who carries more risk, but it does not get each season's claim level right. That is stated at the top of the README.
  • ε₄In normal seasons, the trend wins. The radar only pays off in crop failures; across the 89 normal seasons, the trend line has a lower error than the model.
  • ε₅At the hotel, the fixed threshold did not survive the summer. The cut-off chosen with January to April data made less profit on test than calling every booking, because in summer bookings are worth almost twice as much. The README shows this and the rule that would fix it. See the project ↗
section 05

Contact

E-mail or LinkedIn is the fastest way to reach me. The full résumé is available as a PDF, in English and Portuguese.

Caio Goia · Data scientist · Curitiba, Brazil