Matrix And Tensor Approximation For Internet Latency Prediction And Online Purchase Prediction