Friday, June 26, 2009

This is fun!!!

I am very behind in ideas, So I will start with what I will be working on over the summer

My original genetic algorithm I wrote way before summer, had some sort of a mutating math algorithm trying to figure out where the right place is to go.

Most recently, I have realized it may not be the best to only have ONE math equation, but maybe an organized series, or even hierarchy of them... working as follows

A math equation at first is the only decider for the ultimate decision. But let's say it mutates and copies itself slightly off, and actually makes two deciders, so the decision chart looks as so.... (d, decision, m Math equation)

....d
.../ \
.m...m
Each math equation 'votes' to the final decision of where to move (each line in these charts will represent one vote). Iff (not a typo, iff = 'if and only if') there is a tie, the math equations will compare the priority they assigned their decision, and move as to who assigned highest priority (alrighty in my math equation)

Now needless to say, there could be any number of Math equations making one decision, but things get more complicated....

Now let's say one math equation on one part of the brain just cant assign its vote accuratly with only one equation (really just under random mutation....) it can split off as well, decision chart as follows

......d
..../....\
..m .....d
........../ \
........m...m
Hopefully, this will allow my little mutant math equations to express themselves better, and just make better decision, however my new laptop might die trying to do it......

Friday, June 19, 2009

full time job + programming = fun

So I have had time to think about a nice new fun idea, partially inspired by our own brain. I have been thinking about my mutation program, the one with a genetic algorithm where the little guys fight to the death to see who is better at a game of connect four. Well, their brains are unchallenged, they make one decision they are never torn. So, what if their brains were allowed to split into two mutating wonders, that would argue, or even 3. Sure they would not really completely argue, but rather vote as to which one they want to go to, and whichever one thinks louder (I swear there's math behind it, they use priority....) will decide the movement. I am interested how it will turn out.

Monday, June 15, 2009

Newest inspiration:
Tide wars: a (real life) game where one uses beach objects to try and protect one's fort against the tide's rage. When Creating a fence with two layers of sticks, spaced apart appropriately, One can fit big and small rocks and such in between. As the water moves along the rocks, the rocks that do not fit/ are too small, will eventually wash away, those that are not, will become wedged in just the right spot. What if a logic organism could develop that way?

Newest random idea:
Using binary genetic bits, the genetic bits should not only be mutated, but maybe the way that the organism interprets it's gene's could be mutated either while in life or the interpretation can be a genetic trait as well. Perhaps one could go deeper, and allow the organism to interpret differently with in it's life according to some algorithm that takes in positive/negative stimuli, and the way that stimuli effects the interpretation of gene is also mutated.

I realize I am stuck on mutating algorithms, I also realize I should find more, however for now I cannot get my own mind off of it, as it seems the best way humans could make something smarter than themselves without having to overcome any huge intelligence leaps.

Perhaps there is another more controllable way to deal with it, maybe it will use an integration of all sorts of methods, I want to map out or organize the methods and look at the pros/cons and just try to mix a couple and see how it turns out. ... I still want a mutating learning algorithm... just cant find a learning algorithm that isn't so straight forward.

Thursday, May 21, 2009

Thought

I havent forgottaen about this just had busy 4 months... breif ideas for the day i must elaborate on later

fractal learning as taking something you think and keep puting that back into the thought process over and over

computer feeling through the system and developing senses using assembly. or making a complex virtual environment where senses may be developed.

seeing changes in data may help developing senses. (we typically sense things that change a lot and that are statistically useful for survival.)

making it possible for the math going on inside the brain or thought process to not only be linear thoughts, but ones that may be turned in to multi-dimensional, or even plug values into itself (fractal)

Monday, January 26, 2009

Evolution

I honestly did not think I would get this far in my highschool year-- I either underestimated myself or overestimated the problem. I have had this idea existing for the past couple days, and it has been working for least least 4 days, and in this time I have tried to explain how this program works to many people, here's what I've practiced.

This program tries to play Connect4. There is an equation the program uses to try and figure out which spot is the best. Now you will notice that I used the word, 'try' alot, that's because it's never certain. The program's equation actually mutates. It copies itself and adds a slight mutation, then all of them play Connect4 a couple times to decide which mutations are best, and those live on while the rest die. The living ones reproduce and it goes on and on.

So far the equation it has is far from perfect, my challenge is to give it an opponent, my best choice I figure is to get them to play each other, I am experimenting with that right now.

I will post the advances I make but for some reason I feel as though I've stumbled on something I almost want to keep it somewhat private, so my descriptions will be vague...

contact me dfreelan@gmail.com if you want to know more (not that I have many followers...)

Wednesday, January 21, 2009

Connect 4

I tried to use the same algorithm I did with Tic-Tac toe on Connect four, and i ran into some problem with memory---

actually i never explained how i got tic-tac-toe to work... it actually was an interesting story...

So as the game plays against itself over and over again, it records what spaces lead to losses, what moves lead to wins, and what moves lead to ties. There is then a statistic taken every turn to see which one is the best, and the statistics are constantly updated. However it is a bit more than statistics, hardly but distinct, i programmed a "gullibility factor", well that's what I call it. the wins could only possibly get up to 10, or whatever the 'gullibility factor' was and it could only get so bad as the gullibility factor.

Now dealing with ties is where something interesting happened, when both computers saw ties as a form of winning, both of them simply made the same moves over and over again, not surprising. When both computers considered them loses , when they played against a human they failed, they would choose to lose instead of tie sometimes.

However when one computer considered ties wins, and the other one considered ties loses, one of them succeeded. To me it seemed like a pessimist vs optimist situation, and i believe the optimist won this round. Because the program considered ties wins and the others loses, the one that thought they were loses continually changed strategy, while the other one was able to learn and find all the different possibilities of winning. While the loser, simply ended up moving randomly in the end when you try to go against it.

Now I need to do something with Connect 4, but there are too many combinations, and the RAM just cant take it on any computer I can come in contact with. So Now I must come up with a new strategy, I think I will come up with it tomorrow.... lots of thinking to do

Monday, January 5, 2009

Alright I missed a couple.

I over the passed couple days made a program that I taught to play tic-tac-toe. It is about 1000 lines of code devoted to trying to get it to learn to play tic-tac-toe better and better with experience. So I skipped out on writing.

I was recently contemplating the need for speech to communicate and speak, I was wondering if one were to master thinking without language and think about AI one might get a better understanding of how to understand what language is, and how to program it.

To be continued...