You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by mohan-chinnappan-n <gi...@git.apache.org> on 2016/11/07 17:19:10 UTC

[GitHub] incubator-predictionio issue #293: io.prediction#core_2.10;0.10.0-SNAPSHOT: ...

Github user mohan-chinnappan-n commented on the issue:

    https://github.com/apache/incubator-predictionio/issues/293
  
    ### Here is the scripts to do this patch for: LeadScoringEngine template
    
    ```
    $ pwd
    ~/deep-learning/MyLeadScoring
    
    # make a backup of the build.sbt
    
    
    $ cp build.sbt build-bak.sbt
    
    # apply patch to build.sbt file
    $ cat build-bak.sbt |  sed s/"io.prediction"/"org.apache.predictionio"/g  | sed 's# "core"# "apache-predictionio-core"#' > build.sbt
    
    
    # go the scala folder
    $ cd src/main/scala/
    $ pwd
     ~/deep-learning/MyLeadScoring/src/main/scala
    
    # apply patch the scala source files
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g DataSource.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g Engine.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g Preparator.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g RFAlgorithm.scala
    $ sed -i.bak s/io.prediction./org.apache.predictionio./g Serving.scala
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---