frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Adventures in Imbalanced Learning and Class Weight

http://andersource.dev/2025/05/05/imbalanced-learning.html
27•andersource•2d ago

Comments

ipunchghosts•2h ago
I read the article and the take away is that class weights and stratified sampling did not help for the OPs problem.
lamename•2h ago
Nice writeup. F1, balanced accuracy, etc. In truth it depends on your problem and what a practical "best" solution is, especially in imbalanced scenarios, but Matthews Correlation Coefficient (MCC) is probably the best comprehensive and balanced blind go-to metric, because it guarantees that more portions of the confusion matrix are good [0,1].

I made a quick interactive, graphical exploration to demonstrate this in python [2].

[0]: https://biodatamining.biomedcentral.com/articles/10.1186/s13...

[1]: https://biodatamining.biomedcentral.com/articles/10.1186/s13...

[2]: https://www.glidergrid.xyz/post-archive/understanding-the-ro...

gitroom•38m ago
Insane how tricky imbalanced stuff gets- I always end up second guessing my metrics tbh. You think there's ever such thing as a "right" number for real world junk or is it just endless tradeoffs?

Sierpiński Triangle? In My Bitwise and?

https://lcamtuf.substack.com/p/sierpinski-triangle-in-my-bitwise
68•guiambros•2h ago•17 comments

Show HN: Xenolab – Rasp Pi monitor for my pet carnivourus plants

https://github.com/blackrabbit17/xenolab
54•malux85•3h ago•17 comments

US vs. Google amicus curiae brief of Y Combinator in support of plaintiffs [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.dcd.223205/gov.uscourts.dcd.223205.1300.1.pdf
310•dave1629•10h ago•502 comments

Observations from people watching

https://skincontact.substack.com/p/21-observations-from-people-watching
20•jger15•1h ago•6 comments

Why the Apple II Didn't Support Lowercase Letters (2020)

https://www.vintagecomputing.com/index.php/archives/2833/why-the-apple-ii-didnt-support-lowercase-letters
31•colinbartlett•3h ago•23 comments

A critical look at MCP

https://raz.sh/blog/2025-05-02_a_critical_look_at_mcp
303•ablekh•9h ago•181 comments

Show HN: LoopMix128 – Fast C PRNG (.46ns), 2^128 Period, BigCrush/PractRand Pass

https://github.com/danielcota/LoopMix128
24•the_othernet•3h ago•14 comments

For $595, you get what nobody else can give you for twice the price (1982) [pdf]

https://s3data.computerhistory.org/brochures/commodore.commodore64.1982.102646264.pdf
105•indigodaddy•6h ago•69 comments

Reverse engineering the 386 processor's prefetch queue circuitry

http://www.righto.com/2025/05/386-prefetch-circuitry-reverse-engineered.html
103•todsacerdoti•8h ago•29 comments

Pope Leo XIV: "AI poses new challenges re: human dignity, justice and labour"

https://www.vatican.va/content/leo-xiv/en/speeches/2025/may/documents/20250510-collegio-cardinalizio.html
87•90s_dev•5h ago•31 comments

Eagle Hunters of Kyrgyzstan

https://magazine.atavist.com/the-eagle-hunters-of-kyrgyzstan-world-nomad-games/
15•gmays•3d ago•2 comments

Comparison of C/POSIX standard library implementations for Linux

https://www.etalabs.net/compare_libcs.html
82•smartmic•9h ago•28 comments

Adventures in Imbalanced Learning and Class Weight

http://andersource.dev/2025/05/05/imbalanced-learning.html
27•andersource•2d ago•3 comments

Microsoft Teams will soon block screen capture during meetings

https://www.bleepingcomputer.com/news/microsoft/microsoft-teams-will-soon-block-screen-capture-during-meetings/
100•josephcsible•4h ago•159 comments

Embracer Games Archive is preserving 75000 video games and needs contributions

https://embracergamesarchive.com/
132•draugadrotten•13h ago•61 comments

Show HN: Code Claude Code

https://github.com/RVCA212/codesys
92•sean_•9h ago•19 comments

Private Japanese lunar lander enters orbit around moon ahead of a June touchdown

https://phys.org/news/2025-05-private-japanese-lunar-lander-orbit.html
197•pseudolus•3d ago•58 comments

How much information is in DNA?

https://dynomight.substack.com/p/dna
50•crescit_eundo•2d ago•46 comments

Email Forwarding for Your Domain

https://mailwip.com
49•codazoda•5h ago•36 comments

Weave (YC W25) is hiring a founding engineer

https://www.ycombinator.com/companies/weave-3/jobs
1•adchurch•7h ago

Intel: Winning and Losing

https://www.abortretry.fail/p/intel-winning-and-losing
77•rbanffy•13h ago•47 comments

Gmail to SQLite

https://github.com/marcboeker/gmail-to-sqlite
302•tehlike•20h ago•92 comments

The State of SSL Stacks

https://www.haproxy.com/blog/state-of-ssl-stacks
12•zdw•3d ago•0 comments

React Three Ecosystem

https://www.react-three.org/
98•bpierre•11h ago•43 comments

Not a three-year-old chimney sweep (2022)

https://fakehistoryhunter.net/2022/07/26/not-a-3-year-old-chimney-sweep/
100•nixass•17h ago•57 comments

Building Local-First Flutter Apps with Riverpod, Drift, and PowerSync

https://dinkomarinac.dev/building-local-first-flutter-apps-with-riverpod-drift-and-powersync
32•kobieps•4d ago•17 comments

Detect and crash Chromium bots

https://blog.castle.io/detect-and-crash-chromium-bots-with-one-weird-trick-bots-hate-it/
124•avastel•3d ago•35 comments

The Deathbed Fallacy (2018)

https://www.hjorthjort.xyz/2018/02/21/the-deathbed-fallacy.html
233•mefengl•14h ago•110 comments

'It cannot provide nuance': UK experts warn AI therapy chatbots are not safe

https://www.theguardian.com/technology/2025/may/07/experts-warn-therapy-ai-chatbots-are-not-safe-to-use
104•distalx•8h ago•114 comments

Prolog's Eternal September (2017)

https://storytotell.org/prologs-eternal-september
72•Tomte•2d ago•56 comments