我试图在Apache predictionIo中运行线性回归模型。并从PredictionIO templere gallery中获取样本模板。
https://github.com/RAditi/PredictionIO-MLLib-LinReg-Template
在将引擎部署为服务时,我面临以下问题
未解决的依赖关系:未找到预测Core_2.10包
sbt.ResolveException:未解析的依赖项:io.prediction#core_2.10; 0.13.0:未找到
[信息] [引擎$]在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"