【问题标题】:Running Linear Regression model in Apache PredictionIO在 Apache PredictionIO 中运行线性回归模型
【发布时间】:2019-02-28 09:22:38
【问题描述】:

我正在尝试在 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.

【问题讨论】:

    标签: machine-learning linear-regression apache-spark-mllib predictionio


    【解决方案1】:

    您尝试包含 PIO 的方式是数据不足。 (在成为 ASF 项目之前)

    你需要使用这个: https://mvnrepository.com/artifact/org.apache.predictionio/apache-predictionio-core

    libraryDependencies += "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-10-09
      • 2021-01-11
      • 2019-04-22
      • 2018-04-28
      • 2014-04-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多