The hardware needed to train a machine to learn an algorithm typically faces one of two problems – either speed or capacity constraints. If a server has enough memory to fit all of the data needed for the process, machine learning can take anything from a few hours to possibly weeks read more.