You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my first attempt using Photon-ML, I have trained a mixed effects model that includes an intercept-only random effect. I then try to use the scoring driver, using the tutorial as a template.
I'm having trouble specifying the right feature shard for the random intercept. During training, I assign no feature bags to the feature shard (by omitting it in the cli command). In the scoring part, what's the right thing to do?
Thanks in advance!
val globalFeatureShardId = "sGlobal"
val globalFeatureShard = Set("Bu", "Bg", "Bc")
val perUserFeatureShardId = "sUser"
val perUserFeatureShard = Set("uuid")
// only looking for random intercept and therefore the shard is empty, what do I enter here?
// should i put the userid (uuid) in a bag by itself and use it here?
val fixedShardConfigs = Map(globalFeatureShardId -> FeatureShardConfiguration(globalFeatureShard, true))
val mixedShardConfigs = Map(perUserFeatureShardId -> FeatureShardConfiguration(perUserFeatureShard, true)) ++ fixedShardConfigs
GameScoringDriver.set(GameScoringDriver.featureShardConfigurations, mixedShardConfigs)
The text was updated successfully, but these errors were encountered:
It seems the set of feature bags I choose above doesn't matter. Since, at training time I specified random intercept only, at scoring time, the GameScoringDriver can be fooled with any set of feature bags. At least, it works. If somebody could confirm this behavior, I'd appreciate it.
val globalFeatureShardId = "sGlobal"
val globalFeatureShard = Set("Bu", "Bg", "Bc")
val perUserFeatureShardId = "sUser"
val perUserFeatureShard = Set("Bu") // just to fool the driver
In my first attempt using Photon-ML, I have trained a mixed effects model that includes an intercept-only random effect. I then try to use the scoring driver, using the tutorial as a template.
I'm having trouble specifying the right feature shard for the random intercept. During training, I assign no feature bags to the feature shard (by omitting it in the cli command). In the scoring part, what's the right thing to do?
Thanks in advance!
The text was updated successfully, but these errors were encountered: