ML / AI Engineer · Puebla & CDMX, Mexico

Fernando Muerza

Machine learning that runs in production: a pricing API whose models retrain automatically once they are more than 7 days old.

3 years serving ML models as REST APIs with Docker, with automatic retraining and monitoring. I also built and evaluated an LLM extraction pipeline with LangSmith evals.

Available now · Remote · UTC-6

-99.73%Valuation time · 4 h → 39 s
0.88± 0.02R² · 5-fold CV
7daysMax model age before retraining
5Prometheus alert rules
  • Python
  • scikit-learn
  • LightGBM
  • MLflow
  • FastAPI
  • Django
  • Celery
  • PostgreSQL
  • Redis
  • Docker
  • Prometheus
  • GitHub Actions
  • AWS
  • Traefik
  • n8n
  • pytest
  • Claude Code
  • LangChain, learning
  • MCP, learning
  • PyTorch, learning
  • Keras, learning

In productionLearning, not in production

Quick facts

  • Puebla & CDMX, Mexico
  • UTC-6, US Central overlap
  • 3 years in DS/ML
  • Remote
  • Full-time
  • English B2, C1 tech reading

Available now

Fernando Muerza, Machine Learning Engineer
Fernando MuerzaPuebla & CDMX
  • SpanishNative
  • EnglishB2 · C1 tech reading

§ 02 · About

Machine Learning Engineer focused on financial outcomes, end to end.

I build machine-learning solutions aimed at financial results: revenue, margin, acquisition cost, retention and ROI. I work end to end, from the business problem and clean, representative data to a model deployed as an API in production. I measure a project by the return it generates, not by model metrics alone.

Results so far: R² 0.88 ± 0.02 in real-estate valuation (5-fold CV), valuations from 4 h to 39 s, and a 70.76% lower cost per lead from server-side attribution. Before modeling, I solved real problems in marketing, sales, operations and automation, so I read the business in its own language: unit economics, efficiency, return per channel.

AWS Certified AI Practitioner and Cloud Practitioner, TripleTen Data Science certificate, real-estate management at IBERO Puebla, and valuation self-study through Aswath Damodaran's public NYU Stern lectures.

DomainReal estateValuation & pricing
DomainApplied AILLM pipelines, evals & agents
DomainPerformanceMulti-channel attribution

§ 03 · What I'm accountable for

What I'm accountable for

01 · Shipping
39 sPer valuation · was 4 h

From notebook to production

Models served as REST APIs with Docker. A valuation that took 4 hours takes 39 seconds.

02 · Monitoring
7 daysRetraining · 5 alert rules

Keeping models healthy

Automatic retraining of models older than 7 days plus 5 Prometheus alerts, including a 14-day no-retrain alarm.

03 · Cost
~28Containers · 2 Linux VPS

Predictable infrastructure cost

About 28 containers in production on 2 small Linux VPS, at [monthly cost] per month, or [cost per valuation] per valuation.

04 · GenAI
8,021Listings → 79 features

LLM, evaluated before shipping

An LLM extraction pipeline checked with LangSmith evals, Claude as judge and an anti-hallucination gate. Its A/B did not beat baseline, so it stayed out of production.

§ 04 · Work

A pricing model in production

Real estate valuation API at Inmuebles Anzuz. Trained on de-duplicated comparables, shipped with 80% intervals, retrained automatically once models are more than 7 days old.

01

The problem

At Inmuebles Anzuz, a boutique real estate agency in Puebla, pricing one property took about 4 hours of manual work, and finding comparables took up to 8 hours. The sales team needed numbers fast, and the model had to follow the market without anyone retraining it by hand.

fig. 13 · gradient descent
θ*
Illustration · LightGBM builds each tree from the loss gradients
02

What I built

fig. 04 · how the model stays current
  1. 01IngestListings ETL: Apify webhook → n8n → PostgreSQL, about 8,000 listings.
  2. 02ChecksQuality score, percentile outlier filters, two-layer de-duplication.
  3. 03ModelsRouting across 3 pipelines: Random Forest, LightGBM for Lomas de Angelópolis, log-target RF for land, with 80% conformal intervals.
  4. 04APIDjango + DRF API in Docker, Redis cache, Traefik, Linux VPS.
  5. 05RetrainWhen a model is older than 7 days.
  • scikit-learn
  • LightGBM
  • Django + DRF
  • Docker
  • PostgreSQL 16
  • Redis 7
  • Traefik
  • n8n
  • Apify
03

The numbers

fig. 02 · time per task

Before vs after, log scale

BeforeAfter
fig. 03a · fit
0.88± 0.02

R² · 5-fold CV, after removing duplicates

fig. 03b · error
10.9%MAE

~1,000 de-duplicated comparables per segment

fig. 03c · uncertainty

Every estimate ships with an 80% interval

04

What broke and how I fixed it

Two things.

  • Re-scrapes came back partial and wiped known fields like bedrooms and m², so I rewrote the ETL with idempotent upserts that keep existing values, plus a 0 to 1 quality score per listing.
  • And the same property showed up duplicated in train and validation, so I de-duplicate in two layers before reporting any metric.
05

What it costs to run

fig. 03d · main server load, Oct 2026
[monthly cost]per month · 2 Linux VPS
[cost per valuation]per valuation
[hours saved per month]hours saved per month

4 h → 39 s × [valuations per month]

[monthly cost] per month for 2 Linux VPS (Hostinger KVM 2) running about 28 containers in production, this API included. The main server sits at 9% CPU, 48% RAM and 14% disk (Oct 2026), so it can take more load before costing more.

In progress · internal use

Anzuz Valuator

An ML valuation service at Inmuebles Anzuz: 8 Docker services running (FastAPI inference API, data API with online/offline feature store, Celery retraining, MLflow registry, PostgreSQL audit logs, Redis, Prometheus + Alertmanager with 5 alert rules). Metrics to publish: [requests per day], [p95 latency], [uptime].

fig. 10 · service map

Eight services, four jobs

Retraining runs on a schedule, on demand, or from an n8n webhook. Online and offline feature store.

fig. 11 · alert rules

Five alert rules

  1. > 14 daysModel not retrained
  2. > 12 hFeatures not refreshed
  3. > 5% / 5 minAPI error rate, 99.5% success target
  4. Load failModel fails to load
  5. Cache ageCached model too old
8Docker services
~28Containers on 2 Linux VPS
5Prometheus alert rules
[p95 latency]p95 latency

§ 05 · Projects

Other projects

An LLM pipeline, two AI agents and earlier models, each labeled for what it is today.

Evaluated · not shipped GenAI · Extraction

LLM feature extraction

LangChain + OpenAI read 8,021 listing descriptions and turn them into 79 structured features. Checked with LangSmith evals, Claude as judge and an anti-hallucination gate. Its A/B did not beat baseline, so it stayed out of production.

  1. Listings
  2. Extract
  3. Gate
  4. Evals
  5. A/B
  • LangChain
  • OpenAI
  • LangSmith
  • Claude as judge

Private · walkthrough in a technical interview

In progress AI agent · Construction

Cost-forecasting AI agent

Holt-Winters projects raw-material prices, a regression prices the equipment, a FastAPI service exposes the data and a LangChain agent chains it all from a plain-language question.

  1. Question
  2. API
  3. Holt-Winters
  4. Regression
  5. Answer
  • LangChain
  • Claude API
  • FastAPI
  • Holt-Winters
In progress AI agent · Travel

Tool-using AI agent

One Claude + LangChain agent that combines its own Python tools, Claude's server-side web search and a remote MCP server to search, price and book hotels, keeping context across turns.

  1. Python tools
  2. Web search
  3. MCP
  • Claude API
  • LangChain
  • MCP
  • Tool calling

§ 06 · Stack

Stack: in production vs. learning

In production

  • MLscikit-learn, LightGBM, Random Forest, NearestNeighbors, 80% conformal intervals, joblib
  • BackendPython, Django 6 + DRF, FastAPI, Celery + Beat, Gunicorn, REST APIs, webhooks
  • DataPostgreSQL 16, Redis 7, n8n, Make, Apify
  • MLOpsAutomatic retraining (models older than 7 days), MLflow model registry, online/offline feature store, Prometheus + Alertmanager observability (5 alert rules), Redis model cache across workers
  • InfraDocker + Docker Compose, Traefik + Let's Encrypt, 2 Linux VPS with about 28 containers, GitHub Actions CI/CD (ruff, pytest, pip-audit, GHCR, Dependabot)
  • AWSInfrastructure as code with CloudFormation: S3, CloudFront, ACM, Route 53 (3dreinvent.com, since Oct 2026)
  • Qualitypytest (265 tests), pre-commit
  • AI devClaude Code since Feb 2026, every change through PR checks (ruff, pytest, pip-audit)

Learning nowNot in production

  • LLMLangChain tool-calling agents, MCP, RAG. Built and evaluated, not in production: an LLM extraction pipeline (LangChain + OpenAI, 8,021 listings → 79 features) with LangSmith evals, Claude as judge and an anti-hallucination gate.
  • AWSLambda, API Gateway, Cognito, Aurora DSQL, IoT Core (designed, tested locally). EC2, RDS, ECS/Fargate, VPC (AWS course, Oct 2026 to Jan 2027)
  • Deep learningPyTorch, Keras 3, ResNet50, BERT (bootcamp projects on GitHub)

Experience & education

AWS · Sep 2026

AWS Certified AI Practitioner

Valid through 2029

AWS Certified AI Practitioner badge, Foundational
CertifiedCredly
AWS · Oct 2026

AWS Certified Cloud Practitioner

Valid through 2029

AWS Certified Cloud Practitioner badge, Foundational
CertifiedCredly
Commit Academy · Oct 2026

AWS Cloud course

3 of 19 modulesJan 2027
In progress
  1. Nov 2023 to present · Experience

    Data Scientist · Inmuebles Anzuz

    0.88R² ± 0.02 in 5-fold CV for the valuation model (LightGBM, Random Forest), after removing cross-portal duplicates
    -99.73%Valuation time, 4 h → 39 s, served as a Django REST API on Docker / VPS
    7 daysETL with automatic retraining, so the model keeps up with the market
    8Docker services in the Valuator: MLflow registry, Celery retraining, Prometheus alerting
    DATAData-quality checks and percentile outlier filters at ingestion
  2. Feb 2021 to Oct 2023 · Experience

    Commercial Operations Analyst · Inmuebles Anzuz

    -70.76%Cost per lead on Meta Ads with server-side tracking (CAPI · Stape · GTM): $182.62 → $53.40 MXN
    +72.32%Funnel traceability with URL-parameter attribution in Zoho CRM
    432×Sales response time, 36 h → 5 min, with lead capture and routing through APIs in n8n
  3. Aug 2018 to Jan 2021 · Experience

    Operations & Data Analyst · Baoba

    -5 h/wkKPI reports and dashboards automated in Excel, about 260 h a year
    -85%Time per quote, 10 → 1.5 min, with a rule-based quoting system
    -97%Weekly process errors, 35 → 1, with the same system

§ 07 · How I work

How I work

fig. 06 · cost per lead

I measure cost per result: as Commercial Operations Analyst at Inmuebles Anzuz, I took cost per lead from $182.62 to $53.40 MXN (-70.76%).

fig. 08 · A/B on the pricing model Not promoted to production

I promote what the data supports: an LLM feature A/B did not beat baseline (ΔMAE +0.09 to +0.55 pp), so I did not ship it.

fig. 09 · what I run
~28containers · 2 Linux VPS

I look after the whole system, not only the model: about 28 Docker containers in production on 2 Linux VPS I run.

fig. 12 · pull request run

Every PR, checked

Illustration of one pull request run.

  • GitHub Actions
  • ruff
  • pytest
  • pip-audit
  • Docker
  • GHCR
  • Dependabot

§ 08 · FAQ

Questions recruiters ask

01Your title is Data Scientist and you did not study CS. Are you an engineer?

I built the model and the system around it: Django + DRF API, PostgreSQL 16, Redis 7, Docker, Traefik, with automatic retraining of models older than 7 days. My degree is Business Administration (UPAEP); production taught me the rest: Redis caches across workers, conformal intervals, 265 pytest tests.

02How much real cloud experience do you have?

AWS Certified AI Practitioner (Sep 2026) and Cloud Practitioner (Oct 2026). I deployed 3dreinvent.com on AWS with CloudFormation: S3, CloudFront, ACM, Route 53. The serverless backend (Lambda, API Gateway, Cognito, Aurora DSQL, IoT Core) is designed and tested locally. Most of my production runs on 2 Linux VPS with Docker.

03Have you worked at scale?

In a small company I own it end to end: ETL, model, API, alerts and servers. Not at big-tech scale. My scale: a training base of about 8,000 listings, 8,021 listings through an LLM pipeline, 28 containers, 5 alert rules. I know what keeps a model healthy; higher traffic is a sizing problem I would approach with the team.

043 years: what level is that?

Better measured by what I run than by years: a model in production, automatic retraining of models older than 7 days, alert rules and 2 servers I administer. Before that, 5 years of business and marketing analytics. I own my work end to end; I have not led a large team.

05Can I see your code?

Most of it is my employer's code and stays private. In a technical interview I can walk you through the valuation API, the ETL and the alert rules on a screen share. Public repos: github.com/muerza. Live demo: the valuation tool below.

06How much of this did you build, and how much did AI?

Both, and I can explain every line. I have used Claude Code since February 2026 to move faster. The decisions are mine: why Redis between workers, why 80% conformal intervals, why a 10% and MXN 100k discount threshold. Happy to go through any of them.

07How is your English?

English: B2, professional working proficiency, C1 technical reading. The interview is the best test, and there is a 3-minute walkthrough in English under Verify.

08How does hiring from Mexico work?

Two options: an employer of record (EOR) or your entity in Mexico. Time zone UTC-6, overlapping US Central. After a first call, I adapt to your selection process. Available now.

§ 09 · Verify

Everything here can be checked

01 · Credly

Verifiable certifications

AWS Certified AI Practitioner and Cloud Practitioner on Credly, both valid through 2029.

02 · Demo

Live demo

The valuation tool below builds the exact request the production API at Inmuebles Anzuz receives. I can run it live in a technical interview.

03 · References

Available on request

Managers and colleagues I've worked with, for the reference check in your process.

04 · LinkedIn

Roles and dates

Data Scientist and Commercial Operations Analyst at Inmuebles Anzuz, Operations & Data Analyst at Baoba, with dates.

05 · Code

Public code on GitHub

13 public repos: AI agents, time series and bootcamp models.

fig. 05 · live demo

ML Valuator, Lomas de Angelópolis

Send a property to the valuation API and get a price with its 80% interval. The panel shows the exact JSON the API receives.

fig. 05a · request

Property parameters

Operation
fig. 05b · responseAPI · not connected
// POST · valuation API{"zone":"Lomas 2","property_type":"house","operation":"sale","land_m2":180,"built_m2":220,"bedrooms":3,"bathrooms":3}
Live endpoint not connected in this build.This form builds the exact JSON the production API receives. I can run it live against the model in a technical interview.Send me a message →

Estimates come from the valuation API with an 80% interval. Not an official appraisal.

§ 10 · Contact

From first call to offer

  1. Step 01

    Leave me a message

    Tell me about the role and we'll coordinate a time to talk.

  2. Step 02

    Your selection process

    I adapt to your selection process: interviews, technical rounds, take-home or live coding.

  3. Step 03

    Get to know my work

    GitHub, LinkedIn and the valuation demo, before or during your process.

  4. Step 04

    Offer and start date

    Available now. Full-time, remote.

Let's talk
about the role

Hiring an ML or AI Engineer? Leave me a message and we'll coordinate the next step.

Available now · Remote · Puebla & CDMX, Mexico · UTC-6
Tell me about the role

Sent from this page straight to my inbox. This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.