learn function

Learning models from data