cost 63 ms
step_dummy output 在 r 香根草的 api 中无法识别 - step_dummy output is not recognised in r vetiver's api

我在下面的 ml 工作流程中使用了几个数据预处理步骤,以通过香根草 api 在生产中使用最终的 model。 工作流和预测在我的本地环境中运行良好,但是当我尝试在香根草 api 中运行示例时出现错误。当 step_dummy 中的 keep_original_cols = FALSE 时,错误消息表 ...

Python Vetiver 模型 - 使用替代预测方法 - Python Vetiver model - use alternative prediction method

我正在尝试使用Vetiver将隔离林模型(用于异常检测)部署到 API 端点。 通过调整此处的示例,一切顺利。 但是,在部署时,端点默认使用model.predict()方法(正常返回 1 或异常返回 -1)。 我希望模型返回由model.score_samples()方法给出的 0 到 1 ...

当有一个角色为 ID 的变量时,为什么使用香根草部署 tidymodel 会引发错误? - Why does deploying a tidymodel with vetiver throw a error when there's a variable with role as ID?

当模型在配方中包含一个角色为 ID 的变量时,我无法使用香根草部署 tidymodel 并获得预测。 在图像中看到以下错误: {“错误”:“500 - 内部服务器错误”,“消息”:“错误:缺少以下必需列:'Fake_ID'。\n”} 虚拟示例的代码如下。 我是否需要从模型和配方中删除 ID 变 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM