Add clustering and regression function for tasks
predict on succes or fail of task