Linux
Just Buy More Cores (1min to 1sec no optimization)
Previous Episodes: Previous Episodes:
References:
– Source Code:
– Less is More: Parameter-Free Text Classification with Gzip –
Support:
– BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
– Servers:
Chapters:
– 00:00:00 – Announcement
– 00:00:41 – Intro
– 00:03:44 – Hosting
– 00:04:33 – Why is the load so high?
– 00:06:33 – Parallelization Idea
– 00:10:50 – Refactoring klassify_samples()
– 00:12:47 – Getting the amount of cores
– 00:19:44 – Splitting the Samples
– 00:41:49 – Learning Math
– 00:44:52 – Atomics
– 00:46:26 – Memory Management
– 01:00:39 – Atomics again
– 01:07:05 – Predicting the Class
– 01:12:19 – Testing on urmom
– 01:15:42 – REPL
– 01:36:40 – Footnote
[ad_2]
source