更新时间:2021-12-17 GMT+08:00
分享

模型训练接口

def train(data_url: str,
         train_url: str,
         subModelLearningRate: float,
         subModelIterateTimes: int,
         model_path: str) -> Tuple[int, str]:
    """
    train local model
    :param data_url: the path of training data
    :param train_url: the path to store model after training
    :param subModelLearningRate: learning rate in training process
    :param subModelIterateTimes: iterate times in training process
    :param model_path: the path of common model
    :return Tuple(code,reason) -- 0 indicates that training was successful, otherwise failed

    ====================== YOUR CODE HERE ======================
    you can write your train function here.
    ============================================================
    """
    pass
分享:

    相关文档

    相关产品

close