freezing / kaggle-product-search

Estimation of product relevance for the given search query.
0 stars 0 forks source link

Spell Checker Distance should affect total probability #26

Closed freezing closed 8 years ago

freezing commented 8 years ago

Clean(blue doors) = blade color

This is the problem, since P(blue|blade) and P(doors|color) is not taken into account.

To solve it, original words should be passed to DP part of the pipeline.

d[i][j] = max(d[i - 1][k] + P(k, j) + Pconditional(input[i], j)