Human-in-the-loop Artificial Intelligence