Skip to content

modulexcite/QLearningServiceFab

 
 

Repository files navigation

Instructions

1.- Install Service Fabric SDK and Visual Studio 2015. More information on how to set up your environment here

2.- Publish the QLearningAPI and QLearningServiceFab apps to a Service Fabric cluster.

3.- Call the QTrainer API to start the training process for all the initial transitions. 1 to 9 for the game of tic-tac-toe.

http://CLUSTER:PORT/api/qtrainer/start/1
...
http://CLUSTER:PORT/api/qtrainer/start/9

Note The training might take more than 10 minutes to complete.

4.- Configure the client app to point to your QTrainer API. In App.cs locate and modify the following with your server and port information:

public static Uri QServiceUrl = new Uri("http://CLUSTER:PORT/api/qtrainer/nextvalue/");

About

Implementation of the Q-Learning algorithm using Service Fabric

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 74.3%
  • PowerShell 17.3%
  • HTML 8.4%