Self Parking Car Evolution

Training the car to do self-parking using a genetic algorithm | Continue reading


@trekhleb.dev | 2 years ago

Show HN: Evolution Simulator

Training the car to do self-parking using a genetic algorithm | Continue reading


@trekhleb.dev | 2 years ago

Interactive Machine Learning Experiments

Continue reading


@trekhleb.dev | 2 years ago

NanoNeuron – 7 simple JavaScript functions that explain how machines learn

The NanoNeuron.js code example contains 7 simple JavaScript functions (which touches on model prediction, cost calculation, forward/backwards propagation, and training) that will give you a feeling of how machines can actually learn. No 3rd-party libraries, no external data-sets … | Continue reading


@trekhleb.dev | 2 years ago

Attempt to make printed links clickable

In this article we will start solving the issue of making the printed links (i.e. in a book or in a magazine) clickable via your smartphone camera | Continue reading


@trekhleb.dev | 2 years ago

Binary Representation of the Floating-Point Numbers

Interactive example of how the floating-point numbers like -27.156 are stored in binary format in a computer's memory | Continue reading


@trekhleb.dev | 2 years ago

Content-aware image resizing in JavaScript

JavaScript implementation of so-called Seam Carving algorithm for the content-aware image resizing and objects removal. Dynamic programming approach is applied to optimize the resizing time. | Continue reading


@trekhleb.dev | 3 years ago

Show HN: JavaScript Image Carver

Content-aware image resizer based on Seam Carving algorithm | Continue reading


@trekhleb.dev | 3 years ago

Gyro-web: Accessing the device orientation in JavaScript

Accessing the device orientation using React hook, and rotating a CSS 3D cube afterwards | Continue reading


@trekhleb.dev | 3 years ago

Permutations/combinations algorithms cheat sheets (2018)

This article briefly describes the difference between mathematical permutations and combinations,explains the main idea behind permutations and combinations algorithms and contains links to algorithms implementation in JavaScript. | Continue reading


@trekhleb.dev | 3 years ago

S.o.l.i.d. principles around you (2017)

Real-world visual examples of SOLID principles | Continue reading


@trekhleb.dev | 3 years ago