def infer_newX(model, Y_new, optimize=True, init='L2'):
    infr_m = InferenceX(model, Y_new, init=init)

    if optimize:
        infr_m.optimize()

    return infr_m.X, infr_m
Infer the distribution of X for the new observed data *Y_new*.
dataset/ETHPy150Open SheffieldML/GPy/GPy/inference/latent_function_inference/inferenceX.py/infer_newX