Ericsson Interview Question

basic machine learning technic code.