Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

AI, neural nets & generalization

Name: Anonymous 2012-08-30 14:33

Ok, so I can get neural nets to converge to solve a training set perfectly, but when I put other values, it always gives weird as fuck answers. In other words, my neural nets don't generalize (which is the point of AI), even if the training set is fuckhuge. How do I make them generalize? Some site on the internet told me to make the net smaller, but that just causes it to not even be able to solve the training set and become stuck on a local (nonzero) minimum.

I don't see how neural nets are any better than just making a program that creates random programs and changes them slightly until the result is appropriate, they don't generalize jack shit, it's the same as just returning
if(input==challenge1)return answer1;
if(input==challenge2)return answer2;
etc.

Name: Anonymous 2012-08-30 16:14

Yes, clearly when ancient, well-tested algorithms don't behave as documented, the problem is with the algorithms and not with your implementation.

Name: Anonymous 2012-08-30 16:44

>>2
Oops, I indeed made a mistake (I added some values to correct the weights, plus I didn't realize it's the activated, weighted neurons that summed and not their weights.)
Anyway, now I can get them to generalize (somewhat) but it takes insanely long to converge. If I make the training set size large enough for it to generalize, the error seems to decrease exponentially when training (means it takes way too long) and I can see it getting closer and closer to the solution, but it's too slow! If I decrease the training set size, it converges quick as fuck but doesn't generalize. I could be still doing something wrong, but I just want to ask does good generalization mean slow convergence?

Name: Anonymous 2012-08-30 16:48

>>3
no need to be an asshole, sprout

Name: Anonymous 2012-08-30 17:08

>>4
Wut? I didn't understand your post. How am I an asshole and what does "sprout" mean?

Name: Anonymous 2012-08-30 18:13

sprout my anus

Name: Anonymous 2012-08-30 19:02

>>1-kunt is an anal sprout.

Name: Anonymous 2012-08-30 20:26

>>7
Should really wipe better.

Name: Al 2012-08-30 20:33

You said "perfectly."  Errors in the code aside, it might be that you're overtraining your net, so that it always gets the right answer for the training set but is actually crazy.  What you want to do is split your "training" set 80/10/10, where 80% is used for actual training, 10 is used to see how well the trained data is working, and 10 is used to see the "real" performance of your net.  Because the first 10 is of course going to affect the training as well.  Got it?  There was an awesome free online course on Machine Learning that covered this from Stanford, taught by a guy with more communication skills than I have.  Anyway, google "overtraining" and you'll find something.  I think I need to google "overuse of quotes" now.

Name: Anonymous 2012-08-30 22:18

one word, the forced over parameterization of the model. sample overfitted

Name: Anonymous 2012-08-31 4:15

>>1
Welcome to before you were born.

In most ANNs, backprop training retrains everything, so you'll have to teach it all skills at once in a sense. There's a few techniques to get past that (though my favourite is: fuck backprop.) If you want to stick with backprop you'll have to build the net in such a way that the training sets are accumulated and enforced in the network.

Also what >>9 said about overtraining. Don't do that. If your results are all coming up 1.0 you might as well just write them down because that's how useful your net is now.

Name: Anonymous 2012-08-31 10:43

閐奵鞂᠒զၤ䝵挥ᅱ傔∙袐暇ᕄፗ茈田蠖善掂霣͑喓㙹爸8㜁畱⠀ф灰甄✰坤㝱⢑╹⊈࢑ِ锳眓䀹㈩耘鍒⑄犐卥愲ℑ愣光㕸吣院葡剀頑䡡爢熐䘵Ɣ瀇㍢㤱ㆈ啁慴႖咐᝕隒刀㌂敱⢁遲ጵ㡂褔᠔戢桵❖㙀桇Դ鍣灕ѧ䦔塆⡶❁〔䡗夲ᐹ霄᜘䜈灠镘蝀Ԑ桀Ű鍙ᐰ睘鑑蠠刔祒舑砙в邖枃癨⌓鈖ै啤偦ᡉ㑰㌀ी㕉蠄ᚙ萒ᝥ⚀ࡱ儂鍁炗㔕啳杀䙃ᙈ邆癉啤☄䈀ᘕኒ࢘䠇靂䎉ݰነ嘕卹蝐∘醘ᦆՓᙨ腲䂗ᅗƈᐔ镵㎆慀炇䒅㚇䥑钙⤵ဉ捧ፀጒᘆ║刈暘⥣芗㕰錇夈ဒ✹隇舲⥒㕙噤䙠䉉戤钂堶襴䑩悘⍦卵癹㠶㤴挷݀㍩怲ဳ㘔ጷ慙㔒捩舙琂瑵栅㥄㑅阠ᝠ╩㢖霒䠄䐈䖁š剹㈐蠓ᙹ鈧䉗脙唗䙆栂砕➔甒刲⑄陒堕ű⦔≕桡匘ᢇ䜁䈴瞒邑锴攈ᘠ馓䤤偈阰҇兰ᎀ爣ᐦ㔳ِ葱͈䍇ሖ䔓剙蔙 甦杲㑥∑⤶抐卂䠉蝗㜘ͧၔ

Name: Anonymous 2012-08-31 13:36

>>9
Oh cool, I'm taking that right now. Coursera, right?

Name: Anonymous 2012-09-06 19:16

>>12
You'll want to check that keyboard for errors.

Don't change these.
Name: Email:
Entire Thread Thread List