Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFRM may overestimate demand for expensive products with small availability #16

Open
sash-ko opened this issue Apr 22, 2017 · 1 comment

Comments

@sash-ko
Copy link
Contributor

sash-ko commented Apr 22, 2017

Current implementation of calibrate_no_booking uses following formula to calculate weights of products with no observed demand:

Wi = Pi * (1 - Ai)

where Pi is a probability of a customer selecting a product i, Ai is availability of the product i.

This formula penalizes products with high availability and small probability but it favours products with small availability even if their probability is low. For example, let P1 = 0.5, A1 = 0.9, P2 = 0.1 and A2 = 0, in this case W1 = 0.05 and W2 = 0.1. This means that product 2 demand will be higher than product 1 demand even the probability of this product being selected by a customer is much smaller than probability of the product 1.

@sash-ko sash-ko changed the title MFRM may overestimate demand for expensive products in zero availability MFRM may overestimate demand for expensive products with small availability Apr 22, 2017
@sash-ko
Copy link
Contributor Author

sash-ko commented Apr 22, 2017

Can be due to #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant