def gen_Y_pred_AD(Y_pred, target_idx, TARGET):
    """
    @topic: Generate Y_pred after anomaly detection with target_idx list
    @input:
        Y_pred: predicted label by classification;
        target_idx: the list of target number;
        TARGET: target number.
    @return: the new Y_pred.
    """
    Y_pred[target_idx] = TARGET
    return Y_pred