-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
Hi!
I cannot figure out where do I go wrong. I am trying to remove the default blacklist of the primary indicator. Here is my engine.json:
Fresh docker deployment from the newest dev.
{
"engineId": "ecom_ur",
"engineFactory": "com.actionml.engines.ur.UREngine",
"sparkConf": {
"master": "local",
"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": "20g",
"spark.driver.memory": "10g",
"spark.es.index.auto.create": "true",
"spark.es.nodes": "192.168.40.225",
"spark.es.nodes.wan.only": "true"
},
"algorithm":{
"indicators": [
{
"name": "buy"
}
],
"maxQueryEvents": 19,
"blacklistEvents": [],
"maxCorrelatorsPerEventType": 49
}
}
But it does not affect the generated engine... There is an issue also with the "maxQueryEvents" btw. Below is the log for the generated engine..
Engine-id: ecom_ur. Initialized with JSON: {"engineId":"ecom_ur","engineFactory":"com.actionml.engines.ur.UREngine","sparkConf":{"master":"local","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":"20g","spark.driver.memory":"10g","spark.es.index.auto.create":"true","spark.es.nodes":"192.168.40.225","spark.es.nodes.wan.only":"true"},"algorithm":{"indicators":[{"name":"buy"}],"maxQueryEvents":19,"blacklistEvents":[],"maxCorrelatorsPerEventType":49}}
10:39:51.697 INFO URAlgorithm - Engine-id: ecom_ur. Events to alias mapping: Map(buy -> buy)
10:39:51.697 INFO package$ -
╔════════════════════════════════════════════════════════════════════════════════╗
║ URAlgorithm initialization parameters including "defaults" ║
║ ══════════════════════════════════════════════════════════════════════════════ ║
║ ES index name: null ║
║ ES type name: items ║
║ RecsModel: all ║
║ Indicators: List(IndicatorParams(buy,None,None,None,None)) ║
║ ══════════════════════════════════════════════════════════════════════════════ ║
║ Random seed: 326194065 ║
║ MaxCorrelatorsPerEventType: 49 ║
║ MaxEventsPerEventType: 500 ║
║ BlacklistEvents: List(buy) ║
║ ══════════════════════════════════════════════════════════════════════════════ ║
║ User bias: 1.0 ║
║ Item bias: 1.0 ║
║ Max query events: 1000 ║
║ Limit: 20 ║
║ ══════════════════════════════════════════════════════════════════════════════ ║
║ Rankings: ║
║ popular Some(popRank) ║
╚════════════════════════════════════════════════════════════════════════════════╝
I would really appreciate some insight. I tried all possible combination for the JSON.. ( [[]], [{}], [""], etc...)
Metadata
Metadata
Assignees
Labels
No labels