Uber Interview Question

Write a basic machine learning classification algorithm.