Jump to content

[Phase Two] Saiak


Recommended Posts

xGhPMQX.png

 

SAIAK brings the fascinating topic of machine learning into Kerbal Space Program. Using the powerful artificial neural network, SAIAK should be able to fly anything... eventually.
SAIAK is built from scratch, taking advantage of the Unity editor for sandboxing during development. The codebase is built in a modular fashion to facilitate ease of modification to such parameters as input source, output destination, and fitness evaluation.

Phase One
The concept is proven. Basic network architecture is functional and behaves in a deterministic fashion. The genetic algorithm optimizes and converges on a solution. The network is a pure feedforward model and acts combinatorially with its inputs. It is sandboxed in a color-matching mode.

JPeLCtr.png
Due to an operating system change, the Unity editor has been excised from the code. The network now outputs its fitness to the console. Reintegration in Phase Three should be a relatively small task. The network has been converted to a recurrent neural network. With this new temporal element, the network should be better equipped to handle flight-like scenarios. Sandbox is now a basic Newtonian physics problem, wherein the network moves a body towards a point. Error is accumulated each frame.

Changelog

P2 v0.1.0
|Removal of UnityEngine Dependencies
|Conversion from Feedforward to Recurrent
|Problem changed from color-picking to box-moving
|Console interface in place of Unity Editor interface

P1 v0.0.0
|Initial Release
|Network Proof-of-Concept
|Genetic Algorithm
|Color-picking sandbox

 

Utl6nWX.png
Download the executable from GitHub as detailed underdxVFapg.png.
Run the executable. You may need to acquire Mono and run mono saiak.exe, depending on your operating system.

dxVFapg.png
GitHub [source included]

5pYDDR7.png

Spoiler

MIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 

Edited by 0111narwhalz
Phase Two
Link to comment
Share on other sites

  • 4 weeks later...

Phase Two has begun!

Changelog

P2 v0.1.0
|Removal of UnityEngine Dependencies
|Conversion from Feedforward to Recurrent
|Problem changed from color-picking to box-moving
|Console interface in place of Unity Editor interface

That's right, it's already begun piloting! We'll have this thing flying your whatevers in no time!
 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...