Just Buy More Cores (1min to 1sec no optimization)

Published: 14 January 2024
on channel: Tsoding Daily
30,475
902

Previous Episodes: Previous Episodes:    • Data Mining in C  

References:
Source Code: https://github.com/tsoding/data-minin...
Less is More: Parameter-Free Text Classification with Gzip - https://arxiv.org/abs/2212.09410

Support:
BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
Servers: https://zap-hosting.com/en/shop/donat...

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


Watch video Just Buy More Cores (1min to 1sec no optimization) online without registration, duration hours minute second in high quality. This video was added by user Tsoding Daily 14 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 30,475 once and liked it 902 people.