From probabilistic graphical models to generalized tensor networks for supervised learning | Read Paper on Bytez