There is an excellent Pharo machine learning tutorial at https://agileartificialintelligence.github.io - several thing that I find useful are:
- The entire thing is abount machine learning, not general AI, however Agile Artificial Intelligence has sizzle
- Attention to repeatable tests - for example using random number generator seeds to make tests repeatable and consistent
- Well-placed screenshots
Later this was published as a complete book.