[ 
https://issues.apache.org/jira/browse/OFBIZ-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259685#comment-14259685
 ] 

Anahita Goljahani commented on OFBIZ-5928:
------------------------------------------

Hi [~diveshdut],

     thank you for catching it (and thank you for spending your time reviewing 
and testing the code).

The 'if statement' is aimed at dealing with cases in which the denominator of 
the expression that yields the conditional probability is zero. This may happen 
when, exceptionally, the product for which recommendations are looked for is 
included in all sales orders. In these cases, it is easy to demonstrate that 
the 'coboughtProduct' won't pass the likelihood test.
 
Please, find attached a new version of the 'recommender' component that faces 
the issue you reported.   

Anahita

> Prototype of a Product Association recommender
> ----------------------------------------------
>
>                 Key: OFBIZ-5928
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5928
>             Project: OFBiz
>          Issue Type: New Feature
>            Reporter: Anahita Goljahani
>            Priority: Minor
>         Attachments: recommender.zip
>
>
> Hi all, as anticipated in my ApacheCon Europe presentation 'Introduction to a 
> Recommender System for Apache OFBiz' (downloadable from 
> https://cwiki.apache.org/confluence/x/OYPfAg), I have developed a prototype 
> of a Product Association recommender for OFBiz. Product Association 
> recommendations are suggestions of the type 'Customers who bought this item 
> also bought:', that are provided to online shoppers to help them in the 
> selection of products to buy. 
> Attached to this Jira ticket you will find a zip archive containing a 
> component named 'recommender', which implements the logic to generate 
> Production Association recommendations. The component contains a short guide 
> to its functionalities in the main folder. The guide also includes a short 
> paragraph that explains how to run a recommender demo. 
> I would really appreciate any review, feedback and suggestion by anyone 
> interested in this topic.   
> Thank you



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to