Experimental Analysis of Legendre Decomposition in Machine Learning