cd /news/machine-learning/show-hn-p34-tabular-profit-predictio… · home topics machine-learning article
[ARTICLE · art-34531] src=hyperc.com ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Show HN: P34 – tabular profit prediction without the optimism bias

A developer released P34, a pre-trained portfolio-selection model designed to correct optimism bias in machine learning models trained on historical business decisions, after a 7-year effort. The model aims to improve profit prediction accuracy in partially-observed markets like Amazon wholesale and retail lending, where naive models often predict profits but realize losses. P34 is currently available as an invite-only API, with a benchmark and GitHub repo open for feedback.

read1 min views1 publishedJun 20, 2026

Hi all. This is the result of a 7-year effort to understand why ML models trained to replace manual/Excel decision processes tend to lose money in production. The core problem is that when you train on a business's historical decisions, the data is biased by which deals were actually taken - so a model fit to it comes out over-optimistic and builds portfolios that look profitable but realize negative yield. We've seen it across Amazon wholesale, retail lending, and other markets inefficient enough that the opportunities look obvious to analysts. P34 is our take on a fix: a pre-trained portfolio-selection model that adjusts how optimistic or cautious to be based on what it observes, instead of inheriting the optimism in historical data. On our synthetic benchmark, naive fitting predicted $170k / realized a negative -$60k; P34 predicted $130k / realized $25k (we’re working on tightening predictions on very difficult markets). It's slow and only fits partially-observed markets and has no value where a full order book exists or in HFT. We’re presenting our first version of benchmark in our github repo that profit-oriented (we call them Profit-as-Regression) models will have to pass/compete in. P34 itself is currently an invite-only API. I’m happy to share more details and will appreciate any feedback on the proposed interface, benchmark and hear if you are solving similar problems in your current project.

Comments URL: [https://news.ycombinator.com/item?id=48605050](https://news.ycombinator.com/item?id=48605050)

Points: 1

── more in #machine-learning 4 stories · sorted by recency
── more on @p34 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-p34-tabular-…] indexed:0 read:1min 2026-06-20 ·