简体   繁体   English

encog神经网络-Java-培训无效

[英]encog Neural Network - java - Training not working

First of all, I'm extremely sorry if this question is already asked.., I've searched for weeks in this forum and found none similar to my question... 首先,如果这个问题已经被问到了,我感到非常抱歉。.,我在这个论坛中搜索了数周,没有发现与我的问题类似的东西...

I'm new to neural networks!! 我是神经网络的新手!!

I've started a project in neural networks and this Internet shows me only one example = XOR - one java code - one concept when i search with any tags related to neural-network-java-encog!! 我已经开始了一个神经网络项目,该Internet仅向我显示一个示例= XOR-一个Java代码-当我搜索与Neuro-network-java-encog相关的任何标签时,这是一个概念!

Creating Neural network -> BasicNeural network = new..... training => iteration(), network.Compute() etc... 创建神经网络-> BasicNeural network = new ..... training =>迭代(),network.Compute()等...

I tried that code for my dataset of 2000 entries and 16 binary attributes. 我为2000个条目和16个二进制属性的数据集尝试了该代码。 With Sigmoid function & BACKpropagation algorithm as mentioned in the XOR example. 具有XOR示例中提到的Sigmoid函数和BACKpropagation算法。 - No result.. just infinite iterations while training(aborted the execution after ~45 minutes)... -没有结果..训练中只是无限次迭代(〜45分钟后中止了执行)...

I altered the no. 我更改了编号。 of hidden layers, no. 隐藏层数 of hidden neurons, learning rate and momentum in Backpropagation's constructor... and none got it working. 反向传播的构造函数中隐藏的神经元,学习率和动量的信息……却没有一个起作用。

I even changed the Training method to resilientPropagation & Manhattan. 我什至将训练方法更改为elasticPropagation和Manhattan。

But, when i reduced my dataset to 100 records, it works fine.! 但是,当我将数据集减少到100条记录时,它可以正常工作。 3 seconds max to get trained. 最多3秒钟即可接受训练。 Even if i change the dataset to 200 records with the same configuration(no.of neurons, layers, momentum etc), it didn't work... just worried tat i couldn't understand this code's behavior.. 即使我将数据集更改为具有相同配置(神经元,层,动量等的数量)的200条记录,也无法正常工作......只是担心我无法理解此代码的行为。

Where am I doing wrong.? 我在哪里做错了? I am an absolute beginner to these concepts and trying to understand !! 我绝对是这些概念的初学者,并试图理解! So , kindly accept my apologies if my texts are irritating... 所以,如果我的文字令人讨厌,请接受我的道歉...

I don't know where to learn about the impact of every training method and when to use it. 我不知道在哪里可以了解每种培训方法的影响以及何时使用它。 Is backpropagation method not suitable for this purpose or is it like, that type of code won't work for bigger number of records.?? 反向传播方法是否不适合此目的,或者类似,这种类型的代码将无法用于更大数量的记录。

Please help me with this issue !! 请帮我解决这个问题! hope im clear with my query Thanks in advance 希望我的查询清楚即时

Well since nobody helped here., I tried stopping those iterations after a specific time.(say 2000 times) 好吧,因为这里没有人提供帮助。所以,我尝试在特定时间后停止这些迭代(例如2000次)

Now, when I checked the program, it got trained for some extent.. And I continued my work with those... 现在,当我检查该程序时,它受到了一定程度的培训。然后我继续与那些人合作...

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM