该文档涉及的组件

    KerasSequential分类模型 (KerasSequentialClassificationModel)

    Java 类名:com.alibaba.alink.pipeline.classification.KerasSequentialClassificationModel

    Python 类名:KerasSequentialClassificationModel

    功能介绍

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

    参数说明

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

    代码示例

    见 KerasSequentialClassification 组件的文档。