rschlenk87 / iml-unity

This is an interactive machine learning framework for Unity3D. It allows developers the ability to use interactive machine learning in running games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InteractML, an Interactive Machine Learning Visual Scripting framework for Unity3D

InteractML is an Unity3d Plugin that enables developers to configure, train, and use Interactive Machine Learning (IML) systems within the game editor. Using visual scripting developers, designers and artists can visualise incoming data, configure game inputs (e.g., specifying what data to extract from sensors or objects in the game); train and refine ML models (by iteratively adding new training examples in realtime); and connect the ML model outputs (the real-time predictions calculated based on the training data) to other objects/scripts in the game scene. In addition, since InteractML doesn't rely on external software, the ML models can be trained and/or refined by player-provided examples in the final version of the game.

Key features

  • Lightweight machine learning models: Classification, Regression and Dynamic Time Warping
  • Node visual scripting interface
  • You can code your own nodes to satisfy needs not currenly covered
  • Integration with any script to pipe data in/out
  • Supported from Unity 5.3 and up
  • Windows/Mac full support

Limitations

  • Alpha stage
  • Anything not Windows/Mac not tested or currently supported

Installation

Don't download the master branch! It currently contains several dependencies that might break your project. Instead, download one of the relase packages as follows:

  1. Download the latest UnityPackage from the InteractML release github page here: https://github.com/Interactml/iml-unity/releases

  2. With your unity project open, navigate to the top menu bar and select Assets. In the Assets menu select Import Package, then select Custom Package.

  3. Find the downloaded unity package in your file system and click Open. Wait for unity to prepare the package.

  4. In the Import Unity Package window that pops up click Import. Wait for unity to import the package.

That’s it! The InteractML folder will appear in your assets folder along with a folder of examples to start you off.

Documentation

Visit the wiki to have a look at our how-to guides.

Dependencies

InteractML is built with

  • xNode - xNode is visual node framework that lets you view and edit node graphs inside Unity.
  • JsonNetForUnity - brings the power of Json and Bson serialization to Unity with support for 4.7.2 and up and is compatible with both .NET and IL2CPP backends.

About

This is an interactive machine learning framework for Unity3D. It allows developers the ability to use interactive machine learning in running games.

License:MIT License


Languages

Language:C# 93.7%Language:ShaderLab 4.8%Language:JavaScript 1.1%Language:HLSL 0.5%