-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/actionml/template-scala-p…
- Loading branch information
Showing
3 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"comment":" This config file uses default settings for all but the required values see README.md for docs", | ||
"id": "default", | ||
"description": "Default settings", | ||
"engineFactory": "org.template.RecommendationEngine", | ||
"datasource": { | ||
"params" : { | ||
"name": "sample-handmade-data.txt", | ||
"appName": "handmade", | ||
"eventNames": ["purchase", "view"] | ||
} | ||
}, | ||
"sparkConf": { | ||
"spark.serializer": "org.apache.spark.serializer.KryoSerializer", | ||
"spark.kryo.registrator": "org.apache.mahout.sparkbindings.io.MahoutKryoRegistrator", | ||
"spark.kryo.referenceTracking": "false", | ||
"spark.kryoserializer.buffer": "300m", | ||
"spark.executor.memory": "4g", | ||
"spark.executor.cores": "2", | ||
"spark.task.cpus": "2", | ||
"spark.default.parallelism": "16", | ||
"es.index.auto.create": "true" | ||
}, | ||
"algorithms": [ | ||
{ | ||
"comment": "simplest setup where all values are default, popularity based backfill, must add eventsNames", | ||
"name": "ur", | ||
"params": { | ||
"appName": "handmade", | ||
"indexName": "urindex", | ||
"typeName": "items", | ||
"comment": "must have data for the first event or the model will not build, other events are optional", | ||
"eventNames": ["purchase", "view"] | ||
} | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters