Giter Site home page Giter Site logo

ryash072007 / godot-neuroevolution Goto Github PK

View Code? Open in Web Editor NEW

This project forked from greaby/godot-neuroevolution

0.0 0.0 0.0 684 KB

Machine learning in godot. In this example, we use an evolutionary algorithm and neural networks to teach cars to drive on a circuit

License: MIT License

GDScript 100.00%

godot-neuroevolution's Introduction

Neural Network: Neuroevolution - Godot Engine

Issues Pull requests

In this example, cars are driving on a circuit. They have sensors and a neural network. At first the cars don't know how to drive. The cars that go the farthest are replicated together to create the next generation.

This is a form of evolutionary aglorithm used in machine learning which is useful when we don't have data at the beginning.

See also my projects :

How to use

When we have chosen the best cars, we reproduce them to create a child.

var child = NeuralNetwork.reproduce(mother, father)

We can also create random mutations in the neural network.

var child = NeuralNetwork.mutate(car, funcref(self, "mutate"))

Dependencies

This project require Godot Engine 3.3.

Licenses

  • The source code is available under the MIT license.
  • Art Assets are available under CC0 1.0 Universal (Racing Pack by Kenney)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.