SFML community forums

General => SFML projects => Topic started by: lolz123 on September 24, 2014, 04:54:14 am

Title: My AI Collection Using SFML for Visualization
Post by: lolz123 on September 24, 2014, 04:54:14 am
Hello!

As some of you may know, I am really into AI, especially reinforcement learning.
I use SFML to set up experimentation environments and to visualize them.
So, I thought I should post here about what is now a rather large collection of reinforcement learning agents.
I am still using the same cart-pole balancing simulation and mountain car problems, but I recently also added a maze.

Perhaps some of you find it useful for a game or research!

Link to repository: https://github.com/222464/AILib (https://github.com/222464/AILib)

Here is the list of available agents and components of the agents, as of 9/23/2014:
Title: Re: My AI Collection Using SFML for Visualization
Post by: Geheim on September 24, 2014, 05:34:48 pm
This is a huge, great and super interesting collection about AI!
Thank you for sharing your work, this will definitely be helpful.
Title: Re: My AI Collection Using SFML for Visualization
Post by: zsbzsb on September 25, 2014, 02:22:43 am
This does look interesting, however I highly suggest you clean up your git repository. Take out all of the temporary files, binaries, sfml libs, and anything else that really doesn't specifically belong to the project. It would also be nice if you could add a cross platform build system to your repo so it can easily be tried out without having VS installed.  ;)
Title: Re: My AI Collection Using SFML for Visualization
Post by: lolz123 on September 25, 2014, 03:52:27 am
@zsbzsb: Yes I know, I got lazy :P . Unlike my ERL project (where I set up a cross-platform build system and all that properly), it isn't really intended to build on its own; rather, it makes more sense to pick out the agent you want to use/modify and modify/include the source in your own project for that agent. It's not really a library, more of a reference  ;).
Title: Re: My AI Collection Using SFML for Visualization
Post by: eXpl0it3r on September 25, 2014, 03:30:29 pm
I've fixed a few non-standard conforming things (std::sinf std::fmodf etc.), cleaned up the repository and added CMake support.
Check your pull requests: https://github.com/222464/AILib/pulls

Now I can start looking at the actual code and stuff. :D
Title: Re: My AI Collection Using SFML for Visualization
Post by: lolz123 on September 25, 2014, 08:02:48 pm
@exploiter: Wow! Thank you so much! I will merge it as soon as possible! I didn't think I would see so much interest in this project  ;D

By the way, I made a Reddit post on my ambitions with a particular agent in this repository, HTMRL: http://www.reddit.com/r/MachineLearning/comments/2hdc59/my_attempt_at_outperforming_deepminds_atari/ (http://www.reddit.com/r/MachineLearning/comments/2hdc59/my_attempt_at_outperforming_deepminds_atari/)

It is probably the most powerful agent in the repository right now, but also the most complicated!
Title: Re: My AI Collection Using SFML for Visualization
Post by: StormWingDelta on February 08, 2015, 06:06:23 pm
There's normally a lot of interest in making AI's but most are looking for how to make them rather than for someone like you who has saved them the trouble of doing so.




Yes I know I'm necroing. :(
Title: Re: My AI Collection Using SFML for Visualization
Post by: StormWingDelta on December 24, 2016, 12:24:41 am
This project still active? Was planning on seeing how much of the different AIs I could work on changing over to C#.
Title: Re: My AI Collection Using SFML for Visualization
Post by: lolz123 on December 25, 2016, 07:17:03 am
This project still active? Was planning on seeing how much of the different AIs I could work on changing over to C#.

This project (AILib) is no longer active - however, there is a new one I am working on for a company called Ogma.

The name of the project is called OgmaNeo. It's a versatile, fully online hierarchical learning algorithm that runs on the GPU (or CPU if desired). It actually does still use SFML for the demos, though the library itself only depends on Flatbuffers and OpenCL.

Link to the repository: https://github.com/ogmacorp/OgmaNeo (https://github.com/ogmacorp/OgmaNeo)

Due to its online nature, it is also super fast, and may actually be useful for game development (what these forums seem to focus on). Indeed, one of the demos is a level generator that uses pixels to create infinite levels.