PredictionIO Lead Scoring Engine Template (Scala-based parallelized engine)
Scala Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data Rename engine from lead score to lead scoring Mar 2, 2015
project prepare v0.1.0 release Mar 4, 2015
src/main/scala
.gitignore Use pio-build Mar 3, 2015
README.md PDIO-617 update to use appName as param new PEventStore API Apr 17, 2015
build.sbt
engine.json PDIO-617 update to use appName as param new PEventStore API Apr 17, 2015
template.json Updates for PredictionIO 0.9.2 Apr 15, 2015

README.md

Lead Scoring Engine Template

Documentation

Please refer to http://docs.prediction.io/templates/leadscoring/quickstart/

Versions

v0.3.0

  • update for PredictionIO 0.9.2, including:

    • use new PEventStore API
    • use appName in DataSource parameter

v0.2.0

  • update build.sbt and template.json for PredictionIO 0.9.2

v0.1.0

  • initial release (require PredictionIO 0.9.0)

Development Notes

Sample Query

$ curl -H "Content-Type: application/json" \
-d '{
  "landingPageId" : "example.com/page9",
  "referrerId" : "referrer10.com",
  "browser": "Firefox" }' \
http://localhost:8000/queries.json \
-w %{time_total}
$ curl -H "Content-Type: application/json" \
-d '{
  "landingPageId" : "example.com/page9",
  "referrerId" : "referrer10.com",
  "browser": "Chrome" }' \
http://localhost:8000/queries.json \
-w %{time_total}
$ curl -H "Content-Type: application/json" \
-d '{
  "landingPageId" : "x",
  "referrerId" : "y",
  "browser": "z" }' \
http://localhost:8000/queries.json \
-w %{time_total}