Learning Systems: From Theory to Practice