Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a question regarding the way to define coefficients using the add_shared_coefficients and add_coefficients function.
We have defined the ChoiceDataset as follows:
The following is the summary:
%=====================================================================%
%%% Summary of the dataset:
%=====================================================================%
Number of items: 343
Number of choices: 10
%=====================================================================%
Shared Features by Choice:
2 shared features
with names: (['store', 'city'],)
Items Features by Choice:
5 items features
with names: (['category', 'material', 'brand', 'colour', 'price'],)
%=====================================================================%
''
And here is the way we add coefficients:
From your experience with discrete choice models, is it a feasible approach? I was also unsure about the item indexes for the coefficients which are applied individually to each item (intercept, beta_store, beta_city). I've seen in the documentation that the first value of the intercept coefficient needs to be zeroed as a 'baseline', therefore the items_indexes starts from (1,343), leaving the first row out of the coefficients computation, but not sure about the other ones.
Beta Was this translation helpful? Give feedback.
All reactions