该文档涉及的组件

    (ScoreModel)

    Java 类名:com.alibaba.alink.pipeline.finance.ScoreModel

    Python 类名:ScoreModel

    功能介绍

    由 Score 组件调用 fit 方法产生,详见 Score 组件的文档。

    参数说明

    名称 中文名称 描述 类型 是否必须? 取值范围 默认值
    predictionScoreCol 预测分数列 预测分数列 String
    calculateScorePerFeature 输出变量分 输出变量分 Boolean false
    modelFilePath 模型的文件路径 模型的文件路径 String null
    overwriteSink 是否覆写已有数据 是否覆写已有数据 Boolean false
    predictionDetailCol 预测详细信息列名 预测详细信息列名 String
    predictionScorePerFeatureCols Not available! Not available! String[] null
    reservedCols 算法保留列名 算法保留列 String[] null
    modelStreamFilePath 模型流的文件路径 模型流的文件路径 String null
    modelStreamScanInterval 扫描模型路径的时间间隔 描模型路径的时间间隔,单位秒 Integer 10
    modelStreamStartTime 模型流的起始时间 模型流的起始时间。默认从当前时刻开始读。使用yyyy-mm-dd hh:mm:ss.fffffffff格式,详见Timestamp.valueOf(String s) String null

    代码示例

    见 Score 组件的文档。