1) Remove unrelated products

2) Calculate the representative price of the product

3) Normalize the output of the step 2 (x)

4) Measure similarity score between search keyword and the product title (y)

5) Use modified agglomerative clustering algorithm

6) Compute

where,