Recent submissions

Comment · 3 years ago
On phone I typed with a capital letter the correct word but it was considered wrong.
Comment · 4 years ago
Comment · 6 years ago
Models are cached and not large so the setup time is very low. I'll time it when I get to a PC
Comment · 7 years ago
Comment · 7 years ago
Yea, I thought parameters per compression algorithm should indeed be added in a next version :) more compute but definitely an improvement. I think pandas doesn't offer zstd as option with csv, but I'll check once more.

EDIT: indeed, it's missing in `to_csv` - seems like an oversight.

Comment · 7 years ago
Yea zstd is really amazing... if I would choose a single one all the time it'd be zstd for sure.
Comment · 7 years ago
I can give you this... the larger the data the more useful parquet and compression on it will be...
Comment · 7 years ago
Yea I am aware of meta hyperparameter approach for ML, except they only focus on accuracy instead of also including train/prediction times in to the equation :) That's what I was referring to! (you can save A LOT of compute and zoom in on things that work if you can weed out slow / badly performing algorithms as part of meta learning hyperparameters).

To make it extra clear: by doing a lot of compute on different datasets and not only recording the accuracy but also time it took, and then by including that as dimension it will even give better results.

Comment · 7 years ago
Comment · 7 years ago
There's TimescaleDB built on top of PostgreSQL.
Comment · 7 years ago
Indeed, but this is for lossless compression :)
Comment · 7 years ago
Spot on (I briefly touch on this in the article)! This is why I try to work with cheap-to-compute features. I used to calculate how unique all values were, but ended up taking a sample instead to speed that part up for large data!
Comment · 7 years ago
Yea - that is related to genetic programming. That, and using auto-encoders for e.g. image compression are known approaches in "AI".

I'm particularly proud of this meta approach and I am actually thinking this could become huge: the same thing can be done for hyperparameter optimization in machine learning tasks.

Hyperparamter optimization is currently focused on minimizing cross-validation error, but using this concept you could have weights on accuracy, training time and prediction time (very similar to compression where the 3 dimensions are size, write time and read time), and then given a new unknown dataset you could predict what model/hyperparameters to use.

Maybe this should be patented ;)

Comment · 7 years ago
Comment · 7 years ago
shrynk is not doing any compression itself, it's using ML to do a "meta" approach: it computes features on your data like how many rows, how many columns, how much duplication etc, and then predicts which existing compression algorithm (out of the available compressions) will be best given your requirements/preferences in terms of size, write time and read time.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton