GithubHelp home page GithubHelp logo

smiecioinator's Introduction

smiecioInator

Solo project for AI course. The task involved programming an autonomous garbage truck moving on a 10x10 grid. Obstacles were generated on the grid, which the garbage truck had to avoid (houses), as well as obstacles it could choose to avoid or not (holes, depending on their profitability to avoid). Route to the next truck destination was determined thanks to implementing A* algorithm.

Neural networks were trained and used in the project for recognizing the type of collected garbage, while decision trees were employed for making decisions whether to head to the landfill, empty the garbage truck's contents, or go for another piece of garbage.

Setup

In order to run this project, after cloning the repository, you have to create and activate virtual environment.

python -m venv venv
cd venv/Scripts
activate
cd ../..

In order to run this project, you also have to install required libraries.

pip install -r requirements.txt

After completing these steps you can run project!

Usage

To test the capabilities of the garbage truck, after launching the grid window, you should press the "L" key on the keyboard to load the trained models.

As soon as they will be loaded, you will see notifications about it in the terminal. Garbage truck will start working after pressing "G". Most probably it will go to pick up trash. After that, you can press "G" for next steps/decisions.

smiecioinator's People

Contributors

kwakie13 avatar pstefaniuk avatar xsajmon avatar

Watchers

 avatar

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.