Vue normale

À partir d’avant-hierFlux principal

Understanding Random Forest - Towards Data Science

9 juillet 2020 à 08:55

A big part of machine learning is classification — we want to know what class (a.k.a. group) an observation belongs to. The ability to precisely classify observations is extremely valuable for various business applications like predicting whether a particular user will buy a product or forecasting whether a given loan will default or not.


Direct link

Solving Algorithmic Problems: Painting a Grid | Alperen Keles

19 septembre 2024 à 13:42

I discovered this coding puzzle in numero 4 of Paged Out, on page 32.

I found it fun and wrote my own solution in Python: paintbrush.py

It reminded me of Project Euler problems.

I recommend to give it a go based on the Paged Out one-page article, without reading Alperen Keles answer or mine! 🙂


Permalink

New CVM algorithm - Counting Distinct Elements in Streams: An Algorithm for the (Text) Book - arXiv

3 septembre 2024 à 13:07

A new count-distinct algorithm:

We present a simple, intuitive, sampling-based space-efficient algorithm whose description and the proof are accessible to undergraduates with the knowledge of basic probability theory.

Donald Knuth likes it: https://www-cs-faculty.stanford.edu/~knuth/papers/cvm-note.pdf

Their algorithm is not only interesting, it is extremely simple.
Furthermore, it’s wonderfully suited to teaching students who are learning the basics of computer science.
I’m pretty sure that something like this will eventually become a standard textbook topic.

There is the CWEB implementation he produced: cvm-estimates.w (archive.org)

Source: https://jmason.ie/2024/05/21/165901a.html

Interesting HackerNews comments: https://news.ycombinator.com/item?id=40379175


Permalink

How does Shazam work - Coding Geek

3 septembre 2024 à 12:47

Have you ever wondered how Shazam works? I asked myself this question a few years ago and I read a research article written by Avery Li-Chun Wang, the confounder of Shazam, to understand the magic behind Shazam. The quick answer is audio fingerprinting, which leads to another question: what is audio fingerprinting?
This article is a summary of the search I did to understand Shazam.

Source: https://jmason.ie/2024/07/09/205901a.html


Permalink
❌
❌