# Learning Agents. Does the neural network accept input data or not? I don't understand.

**URL:** <https://forums.unrealengine.com/t/learning-agents-does-the-neural-network-accept-input-data-or-not-i-dont-understand/2103882>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Machine-Learning, Learning-Agents, Blueprint, question\
**Created:** [November 4, 2024, 8:53am UTC](https://forums.unrealengine.com/t/learning-agents-does-the-neural-network-accept-input-data-or-not-i-dont-understand/2103882 "2024-11-04T08:53:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntiSarumyan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AntiSarumyan](https://forums.unrealengine.com/u/AntiSarumyan)\
**Post date:** [November 4, 2024, 8:53am UTC](https://forums.unrealengine.com/t/learning-agents-does-the-neural-network-accept-input-data-or-not-i-dont-understand/2103882/1 "2024-11-04T08:53:49Z")

</div>

Hello everyone) I’m learning to work with Learning Agents in Unreal Engine 5.4. I got used to the machines and sort of understood how they work. I wanted to create a simple neural network to test my knowledge. And I had a suspicion that the plugin does not interact with the input values ​​in any way.

I have 2 Float variables in my test project. In theory, the neural network should receive 1 value A as input, and should produce value B as output.

To simplify, the neural network should arrive at the formula A=B.

The problem is that even after 5000 iterations, the neural network still produces “random” answers. I got the feeling that I did something wrong with the input signals. Please help me figure it out.

As a reward, I compare the difference between A and B. Also, if they match completely, the agent will receive a super reward.

I am attaching screenshots. If a similar issue has already been resolved, please provide a link.

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/c/3fcd7485209a6ada8c018adb37c502c6ac91dedc.jpeg)  
 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/5/ff59f7f5422b9b960b4a93bf5ea016e4937ff19e.jpeg)  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/1/3011aab28de288c8e4cc702f86fdf97cc2bdc732.jpeg)  
 ![4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/b/62bb0c855b0c26ed52845deb75c7af5a1b5f18a6.jpeg)  
 ![5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/3/ee33a39e1fcd9679054af26ad39f335fee83ba29.jpeg)
