Supervised Learning with Tensor Networks