Urgent.News

What's breaking now, across thousands of outlets.

Tech

Self-parking car using genetic algorithm (2021)

In this article, a self-parking car is trained using a genetic algorithm. The first generation of cars are created with random genomes, which initially behave randomly. Around the 40th generation, the cars begin to learn and approach the parking spot more effectively. However, they still hit other cars and don't perfectly fit in the spot. The article provides a simulator for observing the evolution process.

The self-parking car is developed using a genetic algorithm to evolve the car's genome, which consists of 180 bits. The car requires two types of muscles to move: engine and steering wheel muscles. The brain sends signals to these muscles, with three possible values: -1, 0, or +1. The brain receives distance sensor data every 100 milliseconds, ranging from [0...4].

The brain uses a simple Linear Polynomial function to convert the sensor data into muscle signals. The coefficients of the polynomials, [e0, e1, ..., e8] and [w0, w1, ..., w8], determine the car's behavior and form its unique genome. The car's genome can be modified through the genetic algorithm to improve its parking abilities.

While the neural network approach could make the car smarter and more adaptable, the simpler Linear Polynomial function is sufficient for this demonstration. The car's genome defines its behavior, and the coefficients of the polynomials control how the brain converts sensor data into muscle signals.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at trekhleb.dev →

More in Tech

Data Science vs. Data Engineering: Mana Jalur Karier yang Tepat untuk Kamu? - 20:50

Di era digital saat ini, data sering disebut sebagai 'minyak baru'. Namun, layaknya minyak mentah, data tidak akan berguna tanpa proses pengolahan yang tepat.

  • Data Science is interdisciplinary field using stats, algorithms to extract insights from data.
  • Data Engineering builds systems for large-scale data collection and utilization.
  • Collaboration between Data Science and Data Engineering is crucial for innovation.

3 Cricketers Gunned Down in KP

Three members of a local cricket team were killed and three others injured when unidentified armed men opened fire on … Read More The post 3 Cricketers Gunned Down in KP appeared first on ProPakistani .

Chris Manning: Language Is the Real Unlock for Intelligence | Chris Manning Podcast – Language is the Key to Unlocking Intelligence

Chris Manning Podcast - Language is the Key to Unlocking Intelligence This is a podcast interview with Chris Manning, a prominent figure in Stanford's NLP, discussing large models, linguistics, how AI learns, and the competition among different AI architectures. 1. Introduction: Is linguistics useful for building large AI models?

  • Language is key to unlocking advanced AI intelligence, not just math
  • Modern AI focuses on fine-tuning large language models, neglecting core systems
  • Language researchers continue studying sentence structure and word meaning independently

More from Monday 28 September →