Cubist Interview Question

some machine learning question and math question