JPMorganChase interview question

Regression based and matrix creation coding