I have the opportunity to develop a simple solution to display suggested products on an e-commerce website. My first choice was to use Naive Bayes due to its simplicity of implementation. However, I got to this state:
$P(buys|product.type,product.brand) = \frac{P(buys) * P(product.type|buys) * P(product.brand|buys)}{P(product.type,product.brand)}$
As we compare P(buys) and P(does not buy), the denominator is a constant and we can compare P(buys) and P(does not buy) based on their numerator only.
Determining the probabilities $P(product.type|buys)$ is easy by looking at what the user bought in the past.
However, I'm not sure how I would determine $P(buys)$.
Is it the number of products bought divided by the total products available in the shop? But the number of products available varies with time. Is it fine to take the current number of products, which will be different from the number of products that were available when the user made his last order (an extreme example: the user can have ordered 3 of the 5 products that were available at launch, but now there are 10000 products).