Added learn API

Typo in `Logint`.