def METHOD_NAME():
    """Tests CP_PLSR factors accurately reconstruct x."""
    x, y, _, _ = _get_standard_synthetic()
    pls = CP_PLSR(N_LATENT)
    pls.fit(x, y)
    x_cp = CPTensor((None, pls.X_factors))
    reconstructed_x = x_cp.to_tensor()
    assert_allclose(reconstructed_x, x, rtol=0, atol=1e-2)