package com.iailab.module.model.mdk.predict;

import com.iailab.module.model.mcs.pre.entity.MmPredictModelEntity;
import com.iailab.module.model.mdk.common.exceptions.ModelInvokeException;
import com.iailab.module.model.mdk.vo.PredictResultVO;

import java.util.Date;

/**
 * @author PanZhibao
 * @Description
 * @createTime 2024年09月01日
 */
public interface PredictModelHandler {

    /**
     * 根据模型预测
     *
     * @param predictTime
     * @param predictModel
     * @return
     * @throws ModelInvokeException
     */
    PredictResultVO predictByModel(Date predictTime, MmPredictModelEntity predictModel) throws ModelInvokeException;
}