frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: OS Library for Conditional Gaussian Mixture Modelling in Python

1•sitmo•1h ago
I've been working on a compact Python library called cgmm for regression modelling with Conditional Gaussian Mixture Models. It allows flexible, data-driven regression beyond Gaussian and linear assumptions.

It integrates with scikit-learn, comes with documentation and examples, and is available on PyPI.

Key features:

* model non-Gaussian conditional distributions

* capture non-linear dependencies

* handle heteroscedastic noise (variance that changes with inputs)

* provide full predictive distributions, not just point estimates

The current release added:

* Mixture of Experts (MoE): Softmax-gated experts with linear mean functions (Jordan & Jacobs, “Hierarchical Mixtures of Experts and the EM Algorithm”, Neural Computation, 1994)

* Direct conditional likelihood optimization: implementing EM from Jaakkola & Haussler, “Expectation-Maximization Algorithms for Conditional Likelihoods”, ICML 2000

Examples now cover a range of applications:

* ViX volatility Monte Carlo simulation (non-linear, non-Gaussian SDEs)

* Multivariate seasonal forecasts (temperature, windspeed, light intensity)

* Iris dataset + scikit-learn benchmarks

* Generative modelling of handwritten digits

Links:

Docs: https://cgmm.readthedocs.io/en/latest/

GitHub: https://github.com/sitmo/cgmm

PyPI: https://pypi.org/project/cgmm/

I'd love to get feedback from the community, especially on use cases where people model non-Gaussian, non-linear data.

Comments

sitmo•1h ago
A quick note on how cgmm relates to existing tools:

* scikit-learn's GaussianMixture models the unconditional distribution of data. cgmm, on the other hand, models conditional distributions (p(y|x)), which makes it more suitable for regression and forecasting tasks.

* Compared to linear or generalized linear models, cgmm can capture multi-modal outputs, non-Gaussian behavior, and input-dependent variance.

* Compared to Bayesian frameworks (like PyMC or Stan), cgmm is more focused and lightweight: it provides efficient EM-based algorithms and scikit-learn–style APIs rather than full Bayesian inference.

So I see cgmm as complementary, a middle ground between simple regression models and full probabilistic programming frameworks, with a focus on conditional mixture models that are easy to drop into existing Python/ML pipelines.

How the AI Bubble Will Pop

https://www.derekthompson.org/p/this-is-how-the-ai-bubble-will-pop
1•_leo•48s ago•0 comments

Interview with Zelda's Adventure Model and Prosthetic Maker Jason Bakutis

https://www.nintendoplayer.com/interview/zeldas-adventure-jason-bakutis/
1•ibobev•1m ago•0 comments

RailsERD.com is now Open Source

https://github.com/siaw23/railserd
1•siaw23•1m ago•0 comments

Real AI Agents and Real Work

https://www.oneusefulthing.org/p/real-ai-agents-and-real-work
1•kiyanwang•5m ago•0 comments

A minimal tool to share Markdown with end-to-end encryption

https://passtext.io
2•dzungfz•6m ago•0 comments

AI-Powered Shelf Price Verification: Matching Label Prices to POS Server Prices

https://blog.roboflow.com/ai-shelf-price-verification/
1•dikshant_shah•7m ago•0 comments

Matrix Core Programming on AMD CDNA 3 and CDNA 4 Architecture

https://rocm.blogs.amd.com/software-tools-optimization/matrix-cores-cdna/README.html
1•ashvardanian•8m ago•0 comments

openvpn-manager (openvpn3 and openvpn)

https://github.com/neiesc/openvpn_manager
1•neiesc•9m ago•1 comments

Why over-engineering happens

https://yusufaytas.com/why-over-engineering-happens/
1•amazonhut•12m ago•0 comments

Safer C++ at Scale with Static Analysis – C++Now 2025 [video]

https://www.youtube.com/watch?v=3zQ4zw4GNV0
1•pjmlp•15m ago•0 comments

Nirvana again defeats alleged child sexual abuse image lawsuit over album cover

https://www.theguardian.com/music/2025/oct/02/nirvana-nevermind-cover-alleged-child-sexual-abuse-...
4•Freak_NL•16m ago•2 comments

Want to do disruptive science? Include more rookie researchers

https://www.nature.com/articles/d41586-025-03117-1
1•bookofjoe•17m ago•1 comments

Bloopers by Sora2 [video]

https://www.youtube.com/watch?v=MkONqpRVFDo
1•fofoz•19m ago•0 comments

Karpathy: LLMs are "ghosts," not "animals"

https://karpathy.bearblog.dev/animals-vs-ghosts/
1•mustaphah•22m ago•0 comments

Show HN: InstaTrack: open-source, privacy-first Instagram analytics (local)

https://github.com/njoylab/instatrack
1•emiliano•22m ago•0 comments

The next generation of Laravel Forge

https://laravel.com/blog/everything-you-need-to-know-about-the-new-forge-laravel-vps
6•jbrooksuk•24m ago•1 comments

Sora 2 and the end of copyright as we know it

https://www.technollama.co.uk/sora-2-and-the-end-of-copyright-as-we-know-it
2•AndrewDucker•26m ago•1 comments

Storytel Desktop Player for Windows

https://github.com/debba/storytel-player/releases/download/v1.0.6/Storytel.Player.Setup.1.0.6.exe
1•debba•26m ago•1 comments

Glazed: AI turns Figma designs into tracking code for analytics

https://glazedanalytics.com/
1•mustaphah•32m ago•0 comments

Tutankhamun's Meteoric Iron Dagger

https://en.wikipedia.org/wiki/Tutankhamun%27s_meteoric_iron_dagger
1•kristianp•34m ago•0 comments

Who Watches the Watch Piece

https://medium.com/luminasticity/who-watches-the-watch-piece-c0b0a9b5cf62
1•bryanrasmussen•35m ago•0 comments

Let's Build the Cinemas of the Future

https://github.com/oitkenmen/kinnow
2•nicktoa•39m ago•1 comments

Implementing a Fast Tensor Core Matmul on the Ada Architecture

https://www.spatters.ca/mma-matmul
1•skidrow•41m ago•0 comments

Intel in early talks to add AMD as foundry customer

https://www.semafor.com/article/10/01/2025/intel-amd-foundry-customer-deal
4•scrlk•42m ago•0 comments

A 4k-year-old spatial pattern of termite mounds

https://www.cell.com/current-biology/fulltext/S0960-9822(18)31287-9
2•Anon84•46m ago•0 comments

An app to help you work out what to wear running and cycling

https://nesh.life/
2•Tomliptrot•48m ago•1 comments

Photo Prompt

https://photoprompt.com/
1•easytube•55m ago•0 comments

Tiny Reagent-compatible UIs with no React

https://chr15m.github.io/eucalypt/
1•Borkdude•56m ago•0 comments

How a program runs on a cpu

https://cpu.land/
1•EyeRunnMan•59m ago•0 comments

Vibecoded Accessibility Tools

https://old.reddit.com/r/vibecoding/comments/1nvluhs/my_brother_just_sent_his_first_text_everthan...
1•razodactyl•59m ago•0 comments