Menu

1 / 3

Understanding Reinforcement Learning with Neural Networks Part 1: Learning Without Correct Answers

DEV Community·Rijul Rajesh·6 months ago
#pMWdR7xl
#ai#machinelearning#software#coding#place
Reading 0:00
15s threshold

In this article, we will explore reinforcement learning with neural networks .

Let’s start with a simple example.

Choosing Between Two Snack Places

Suppose it is snack time, and you have to choose between Place A and Place B for fries.

To make a good decision, we also need to consider how hungry we are .

Some days we may be very hungry, while on other days we may only want a small snack.

We also need to consider how many fries each place might serve.

For example:

Place B might give a large quantity of fries , which would be great if we were very hungry

But if we were not that hungry, getting too many fries might not be ideal

Similarly:

Getting a small amount of fries would not be good if we were extremely hungry

But it could be perfectly fine if we only wanted a light snack

So, it would be useful to have a system that helps decide which place to choose based on:

our hunger level

the possible quantity of fries we might receive

Using a Neural Network

To solve this problem, we will use a neural…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.