简体   繁体   English

我应该扩展我的公式输出数据吗?

[英]Should I Scale My Equation Output Data?

With this link i implemented a neural network to calculate y=x*x (x is input and y is output) equation.I took 1 unit in input layer,4 unit in hidden layer and 1 unit in output layer. 通过这个链接,我实现了一个神经网络来计算y=x*x (x是输入,y是输出)equation.I在输入层中占用1个单位,在隐藏层中占用4个单位,在输出层中占用1个单位。 But When I enter for example 2 as input(so desired output is 4) i got output value 0.99999999.... also this happens for all other input numbers bigger than 1(Its output is correct with value between 0 and 1). 但是当我输入例如2作为输入时(所需输出为4)我得到输出值0.99999999 ....这也适用于所有其他大于1的输入数字(其输出正确,值介于0和1之间)。 also I used this link and changed it to solve my equation,but the output was the same! 我也用这个链接改变它来解决我的方程,但输出是一样的!

正如Pete Said.I应该规范化我的输出(和输入)以获得正确的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我的输出一直是 0? 为什么我的程序没有正常运行? - I keep getting 0 as my output? Why is my programming not running as it should? 我应该更改什么以确保我的代码将显示所需的 output? - What should i change to ensure that my code will display the desired output? 我应该在我的void方法中使用输出吗? - c# Should I use a output in my void method? 为什么我的输出会四舍五入我的十进制数字? 我应该使用十进制还是其他? - Why is my Output rounding up my decimal number? Should I be using Decimal or something else? 我的域模型中的Image应该使用哪种数据类型? - What data type should I use for an Image in my domain model? 我应该在Windows窗体项目中使用数据绑定吗? - Should I use data binding in my Windows Forms project? 我该如何阻止用户修改我的数据文件? - How should I stop users from modifying my data files? 我应该模拟ControllerContext来对我的JsonNetResult数据进行单元测试 - Should I mock the ControllerContext to unit test my JsonNetResult data 我应该将我的数据放在哪里在MVVM中放置程序时不会被丢弃 - where should I put my data that will not be discarded while programs on In MVVM 使用 MVVM 时我应该在哪个类中加载我的数据 - In which class should I load my data when using MVVM
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM