Better HN
topnewbestaskshowjobs
Log inSign up

jeremiecoullon

110 karma · joined Aug 18, 2015 (11y ago) · 35 submissions

Computational stats / ML researcher. https://www.jeremiecoullon.com/
Submissions

1.

US marine leadership principles [pdf](usmcu.edu ↗)

2 points · by jeremiecoullon · 11mo ago · discuss

2.

The key challenge for machine learning parameterizations of clouds(raspstephan.github.io ↗)

1 points · by jeremiecoullon · 3y ago · discuss

3.

Randomized Numerical Linear Algebra: Foundations and Algorithms(arxiv.org ↗)

2 points · by jeremiecoullon · 3y ago · discuss

4.

The true title of Bayes's essay (2013)(arxiv.org ↗)

1 points · by jeremiecoullon · 3y ago · discuss

comment 4y ago · link · parent

I just discovered this field; I needed an algorithm to compute a low rank approximation of a large covariance matrix without first building the matrix. I'm using algorithm 16 in this paper which is simple but very good!

6.

Randomised numerical linear algebra: foundations and algorithms(arxiv.org ↗)

3 points · by jeremiecoullon · 4y ago · 1 comment

7.

Why Innovation Heroes Are a Sign of a Dysfunctional Organization(steveblank.com ↗)

3 points · by jeremiecoullon · 5y ago · 1 comment

8.

Early Monte Carlo methods – Part 1: the 1949 conference(jeremiecoullon.com ↗)

2 points · by jeremiecoullon · 5y ago · discuss

comment 5y ago · link · parent

Nice to know that numba has these features; I'll have to check it out at some point!

comment 5y ago · link · parent

I haven't tried numba but I've heard good things about it! Nice linked tutorial. If I understand correctly, you pass in jitted functions (using numba, and jax) into iminuit which does the optimisation?

With Jax you can write native for loops that can also be jitted (I imagine you can also do this in numba?); this can then be really fast. Though in that case you would have to write the optimisation algorithm yourself which is not always practical!

Another big speedup in Jax is due to vmap/pmap, which allow to vectorise/parallelise computation. For example you can build a massive gram matrix really quickly using vmap.

Another point: Jax can also run on GPU (like numba :) ) without having to rewrite anything.

comment 5y ago · link · parent

I've been using JAX (https://jax.readthedocs.io/en/latest/) for scientific computing in general (in particular MCMC algorithms), as it's really fast. Even on a CPU you get massive speedups compared to numpy (can be up to 2 or 3 orders of magnitude faster in some cases).

The main selling point of the library is automatic differential and compilation to XLA, but I've been using it even when I don't need gradients, as it's really fast (due to compilation). I also really like the random number generator as it's very good for reproducibility.

I've played around with Julia in the past and really liked it, but in terms speed Jax has pretty much solved that problem for me

comment 5y ago · link · parent

I hadn't seen that; thanks!

comment 5y ago · link · parent

There are probably a bunch of alternatives for this. For example a friend built Reading List which I've heard is good (https://apps.apple.com/us/app/reading-list-book-log/id121713...) (iOS app)

comment 5y ago · link · parent

The way to represent negative numbers (page 3 of the manual) is really cool: to do "a - b" you add a to the complement of b (with the complement of b being 2 - |b|).

It feels really similar to modular arithmetic: -3 = 7 (modulo 10)

15.

The MANIAC 1 documentation (1954) [pdf](bitsavers.org ↗)

14 points · by jeremiecoullon · 5y ago · 5 comments

comment 5y ago · link · parent

Perhaps an alternative to look into: Numpyro [1] has a JAX backend so can be really fast when compiled; and it can run on GPUs. So that might be helpful for your problem with loads of data.

[1] https://github.com/pyro-ppl/numpyro

comment 5y ago · link · parent

I guess (good) podcasts are the modern equivalent!

18.

Bill Evans – The Creative Process and Self-Teaching (2007) [video](youtube.com ↗)

189 points · by jeremiecoullon · 5y ago · 62 comments

comment 5y ago · link · parent

The author used the "intelligent driver model" (IDM): https://traffic-simulation.de/info/info_IDM.html

It's a system of ODEs that describes the dynamics of each driver. So the inputs are: the parameters of the model and the inflow of cars in the section of road

comment 5y ago · link · parent

Sounds cool! What's the company? I haven't heard of many companies needing CFD

comment 5y ago · link · parent

I’m doing a postdoc in stats/ML and mainly writing MCMC algorithms. Background: phd in computational statistics. I’ve used a lot of Python and a bit of Julia.

I’ve recently started using JAX and I’m really into it! It’s really fast even on my laptop (cpu) and can run even faster on GPU. I’m now using jax even for random scripts as well as I prefer the random number generator to numpy’s one. This is because you pass the random keys explicitly to all random functions so everything is reproducible.

I really like programming side the research; especially trying to get algorithms to be fast! So Jax is really great for that

22.

MCMC in JAX with benchmarks: 3 ways to write a sampler(jeremiecoullon.com ↗)

2 points · by jeremiecoullon · 6y ago · discuss

comment 6y ago · link · parent

this is great. The Kohl concert is hard to type at the right pace though :)

comment 6y ago · link · parent

Cool! Yeah I tried a pdf and it generated a bunch of URLs ;)

comment 6y ago · link · parent

This is really cool! How did you do the encoding though?

comment 6y ago · link · parent

Really cool idea!

comment 6y ago · link · parent

Your website is http://www.oliverpeat.com/, right? I couldn't find your medium profile from there (though I may have missed it). Could you maybe have your posts also on your website?

comment 6y ago · link · parent

https://www.jeremiecoullon.com/

I’ve started it recently and I’m writing about computational statistics and programming-related stuff. The idea is to write things that I would have liked to read about (I do computational stats, and also like web development).

So far I’ve written about a goodness of fit test for MCMC code, a D3 visualisation for the gypsy jazz scene around the world, and a classic “how to implement natural numbers from scratch” in OCaml.

29.

Show HN: D3 graph visualisation of the Gypsy Jazz scene around the world(londondjangocollective.com ↗)

1 points · by jeremiecoullon · 6y ago · discuss

comment 6y ago · link · parent

A lot of the advice here is good!

For me: what helped was easing into it: I would only work a bit from home for an hour or 2 in the morning before going into the office (it was during my PhD so no one was monitoring my time).

When I got more comfortable working from home I started doing entire days, but not the entire week. Eventually, I started working only from home. This way meant that I could set up good habits (they'll be different for everyone) before doing it all the time.

12