machine-learning - 在 Apache PredictionIO 中运行线性回归模型
问题描述
我正在尝试在 Apache predictionIo 中运行线性回归模型。并从 PredictionIO Templere 库中获取示例模板。
https://github.com/RAditi/PredictionIO-MLLib-LinReg-Template
在将引擎部署为服务时,我面临以下问题
未解决的依赖关系:未找到预测 Core_2.10 包
sbt.ResolveException:未解决的依赖项:io.prediction#core_2.10;0.13.0:未找到
[INFO] [Engine$] at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)
以下是详细日志。
[INFO] [Engine$] [error] (*:update) sbt.ResolveException: unresolved dependency: io.prediction#core_2.10;0.13.0: not found
[INFO] [Engine$] [error] Total time: 143 s, completed Feb 28, 2019 9:12:35 AM
[ERROR] [Engine$] Return code of build command: /usr/share/predictionio/sbt/sbt package assemblyPackageDependency is 1. Aborting.
解决方案
您尝试包含 PIO 的方式是数据不足。(在成为 ASF 项目之前)
你需要使用这个: https ://mvnrepository.com/artifact/org.apache.predictionio/apache-predictionio-core
libraryDependencies += "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided"
推荐阅读
- mysql - 如何从给定向量的sql数据库中查询并存储到表中
- xamarin.android - Xamarin Android 如何根据缺少的程序集判断将哪些文本放入“跳过链接程序集”框中
- c# - 单独的精灵周围的精灵光模糊
- laravel - Laravel 中是否存在页面构建器?它像 WordPress 吗?
- neural-network - 单独标准化神经网络的所有输入是否更好?
- java - 如何在 Firebase 上获取数组 double[] 数据?
- tsql - 完全外连接不显示不匹配的行 - SQL
- javascript - 评论系统:JavaScript 没有“返回”正确的 comment_Id
- javascript - 简单的 js 仅在边缘给出语法错误
- r - 在 R 中将 indeces 作为参数传递