Python module to compute the RESCAL tensor factorization