You will model habituation and conditioning, and find how many trials a dog needs to learn a bell.
The idea. In habituation the response falls by the same factor at each repeat. In conditioning the strength after trials is , where is the share learnt at each trial.
Your tasks.
habituation. It gives a list of the responses to the first touches stimuli, starting from first and multiplying by factor each time.strength. It gives the strength of the link after n trials.trials_to. It gives the smallest number of trials at which the strength reaches level.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…