MindsDB interview question

How would you transform a regression problem to a classification problem?