def METHOD_NAME(tensor_dimensions, n_latent, n_response):
    """Creates PLS dataset"""
    x_tensor = random_cp(
        tensor_dimensions,
        n_latent,
        orthogonal=True,
        normalise_factors=True,
        random_state=RANDOM_STATE,
        dtype=tl.float64,
    )
    y_tensor = random_cp(
        (tensor_dimensions[0], n_response),
        n_latent,
        random_state=RANDOM_STATE,
        dtype=tl.float64,
    )
    y_tensor.factors[0] = x_tensor.factors[0]
    x = cp_to_tensor(x_tensor)
    y = cp_to_tensor(y_tensor)
    return x, y, x_tensor, y_tensor