Join the Bot Libre open source project at BotLibre.org
Bot Libre Forum

How to Train a Deep Learning TensorFlow Analytic to Play Connect 4

by admin posted Apr 14 2021, 14:14

Bot Libre now allows you to create generic deep learning analytics and train them through our web API. Deep learning analytics can be used for a wide array of purposes to analyze and make predications on data. This example shows how to train a deep learning analytic to play Connect 4.

You can use either the Bot Libre deep learning library, or the TensorFlow deep learning library. You can choose the inputs, outputs, and layers.

The web API endpoint to train the network is:
https://www.botlibre.com/rest/api/train-data-analytic

The web API endpoint to test the network is:
https://www.botlibre.com/rest/api/test-data-analytic

Create the Analytic

1. Go to the Deep Learning page and create a new analytic.

2. Configure the network with the following settings:

3. Click on "Save", and then "Reset Network".

Train the Analytic

You can train the analytic using the Bot Libre web API

https://www.botlibre.com/rest/api/train-data-analytic

Create a Connect 4 Chatbot

Now that you have an analytic trained to play Connect 4, you can create your own Connect 4 chatbot with your own analytic!

Follow this tutorial to create your Connect 4 chatbot.

Then, modify the connect4 script with your application ID and analytic ID to connect it to your analytic.

Here is an example Conect 4 chatbot for you to try: Games Bot.


Id: 38154777
Tags: blog, how to, games, analytics, deep learning, tensorflow
Posted: Apr 14 2021, 14:14
Updated: Apr 14 2021, 14:19
Replies: 0
Views: 2266, today: 1, week: 1, month: 30
0 0 0.0/5