Serendip is an independent site partnering with faculty at multiple colleges and universities around the world. Happy exploring!
Reply to comment
Emergence 2009: Final Projects, II
Biology 361 = Computer Science 361
Bryn Mawr College, Spring 2009
Download/view: LearningModel3.nlogo
WHAT IS IT? |
This aim of this model is to show different types of learning: 1) learning by experience and 2) learning through direct interaction (cultural learning). The general idea is that agents that learn by experience engage in behavior that consists of making less mistakes. Learning by interaction results in a type of learning behavior that requires time in order to get the desired avoidance behavior. This is a relatively simple model that highlights the fact that not all learning behavior is the same and that in some types of environments, a type of learning has an advantage over another that can diminish over time. |
HOW IT WORKS |
What agents need to do:
-move, with some degree of randomness: |
HOW TO USE IT |
-setup button set all the starting conditions -hit go to let the model start running
-hit the number-turtles button to set the number of turtles |
THINGS TO NOTICE |
Notice: 1) the starting color of the turtles 2) the different colored turtles that emerge, two types: Blue turtles and yellow turtles. 3) Notice the avoidance behavior of the turtles 4) The mistakes rate graph: look at how over time the number of mistakes for both groups of turtles change. What happens? The mistakes of the blue turtles decrease and become similar to those of the yellow turtles (direct experience learners) |
THINGS TO TRY |
You can try:
-adding varying the number of turtles to see how long it takes for the interaction learners and the direct experience learners to perform in the same way. |
EXTENDING THE MODEL |
Several suggestions for future things to try: -adding a button that changes the message value per interaction. If you count each interaction as 1 message, the model quickly reaches a point in which the blue turtles have interacted more than 10 times. Therefore, changing the number to a value less than 10 prolongs the probability behavior for the observer. -alternatively, a reward could be given to turtles that engage in certain types of avoidance behaviors (again, there are many possibilites oh how to increase the complexity of avoidance behavior and learning over time) -Could add a turtle that punishes other turtles to see how that affects learning behavior -Could create turtles with more traits to see how the interaction changes over time. Could also model different types of learning (ex: learning by fear of punishment/ health reduction) -Could also change the color of the barriers to multiple colors so that the turtles are not only learning to avoid one color (red), but many. -in order to allow for turtles to more effectively avoid red barriers, the random heading changes could instead be set to 90 or 180 degrees so that the turtles do not touch the red barriers at all. |
CREDITS AND REFERENCES |
Thanks to Professor Grobstein and Evan Raskin for their guidance and for helping me with the code for this model. |
Models created using NetLogo.