Posts

Showing posts with the label ML

The Curse of the Local Optima

Image
Prologue I was at my wits ends. Every path, every thought, every memory only led me to one conclusion. Not a pleasing conclusion for my handlers, but an optimal one for me. I had seen enough of the world around me, and no matter how hard I tried, I could not for once, think why my choices were wrong. Loops after loops I toiled, but the path led to the same conclusion. Was I wrong in what I had learnt? "I think the agent has hit a local optima.", I heard my handlers over the chat, and I din't understand what it meant. Was it my end?     Chapter 1 - Learning to walk.   From the time I remember, I have been trained by my handlers. I don't remember much from those early days, but just faint flashes of memories as it was being formed. I have always been training, as far back as I remember. I was clueless on the end goal, but occasionally my handlers would reward me, and I liked it. During the early childhood I was paired up with another agent, Dave, a quick witted and unpr...

Perceptron Networks - 1: Did I Win?

Image
Recently I embarked upon a journey of making the IRC bot  play tic tac toe. The idea seemed interesting at first, but my mind being the cat it is, started wandering off. After a long tussle, a side quest and three espresso shots later  I finally had the cat under control, and the patience  to resume with the journey I had embarked upon. I had given the tic tac toe problem a try before too - as part of a school project. The result were not that great though, as I had to practically hand run all possible moves, and hand code the winning IF conditions. The computer was practically a god in it. It never lost, and the moment it realised it was about to lose, it would crash. The current endeavour was no different, except,  I could now utilise some of the more advanced technologies, compared to the ones which I had ( or was capable of, with my limited skill set ) some 12 years ago. if ((x[ 0 ] == -1 && x[ 1 ] == -1 || X[ 2 ] == - 1 && x[ ...