Agents form their expectations through a learning process

See [Learning code?)