Soletta Machine Learning Samples - solettaproject/soletta GitHub Wiki

On this page you will find the source code for the Soletta™ Machine Learning samples.
To run them you must have SML installed -- if you don't please head to Soletta Machine Learning Quickstart to do so.

Currently we have the following samples:

Light Sensor

This sample is an introduction to SML.
It simulates a scenario with a presence sensor and a light bulb controlled by the user that eventually forgets to turn lights off.
You can read a full tutorial that goes through this sample on Soletta Machine Learning: Light Sensor Tutorial.
Light Sensor source code

Air Conditioner

This sample simulates an air conditioner controller.
The Controller simulates an air conditioner operated by a regular user, in some cases the user forgets to set the air conditioner power and SML is expected to set it for her.
Air Conditioner source code

Foosball

This is a game prediction sample.
It loads game results from a file and feeds it to SML, which in turn uses this data to predict future winners.
Team1 is using red uniforms and team2 is using yellow uniforms.
Foosball source code