IO class as parrent of Solution and Problem

This commit is contained in:
2014-12-03 18:58:28 +01:00
parent 41c92cc3c0
commit 993b4d3f04
14 changed files with 134 additions and 62 deletions

View File

@@ -22,7 +22,7 @@ int main()
for (int test=0;test<2;test++)
{
Shin::NeuronNetwork::FeedForwardNetworkQuick q({2,40,1});
Shin::NeuronNetwork::FeedForwardNetworkQuick q({2,3,1});
Shin::NeuronNetwork::Learning::BackPropagation b(q);
srand(time(NULL));
@@ -49,7 +49,7 @@ int main()
{
std::cerr << "Testing without entropy\n";
}
b.setLearningCoeficient(0.1);//8);
b.setLearningCoeficient(20);//8);
for(int j=0;;j++)
{
double err=b.teachSet(p,s);