Methods of calibrating or learning