Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in AI and Deep Learning by (50.2k points)

I want to have an artificial neural network:

  • 42 input neurons
  • 168 hidden neurons
  • 7 output neurons

This network is to play the game of "Connect Four". At the end of each game, the network gets feedback (game result/win?).

Learning should be done with Temporal Difference Learning.

My questions:

What values should be in my reward array?

And finally: How can I apply it to my game now?

Thank you so much in advance!

2 Answers

0 votes
by (108k points)
edited by

Here is a Neural Network example with Delphi + FANN (Fast Artificial Neural Network Library) under MS Windows which solves the Iris flower classification problem (Fisher, 1936). This has been solved with two methods:

  1. Neural network classification (output layer with three neurons, one neuron per class).

  2. Neural network regression (output layer with single neuron).

Fast Artificial Neural Network (FANN) is a good open-source library, it's been optimized and used by a large community, with plenty of support and Delphi bindings. Enroll in a Master’s in Artificial Intelligence in Japan to get your Master's degree in AI.

0 votes
by (140 points)

You can try this API:

With this API, you'll be able to create your network with:

NN := TNNet.Create();

Browse Categories