package com.iailab.module.model.mcs.pre.service;

import com.iailab.module.model.mcs.pre.entity.MmPredictModelEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author PanZhibao
 * @date 2021年04月27日 11:26
 */
public interface MmPredictModelService{

    void savePredictModel(MmPredictModelEntity predictModel);

    void update(MmPredictModelEntity predictModel);

    MmPredictModelEntity getInfoFromCatch(String id);

    MmPredictModelEntity getInfo(String id);

    BigDecimal getSampleLength(String id);

    List<MmPredictModelEntity> getNoSettingmapPredictModel(Map<String, Object> params);

    MmPredictModelEntity getActiveModelByItemId(String itemId);

    void clearCache();
}