this post was submitted on 09 Nov 2023
1 points (100.0% liked)

Machine Learning

1 readers
1 users here now

Community Rules:

founded 11 months ago
MODERATORS
 

Hi Folks,
I am trying to build a solution where I input an e-commerce product URL
and automatically get all the competitors for that product. If you could provide any direction concerning it. It will be beneficial.

top 7 comments
sorted by: hot top controversial new old
[–] new_name_who_dis_@alien.top 1 points 10 months ago

That's not really an ML problem. It's a search problem. You'd need an index (or at least db) of all e-commerce products. Then you can potentially use ML to find competitors, but I feel like for this you don't need ML


a simple if statement for the two products being of the same type will suffice.

[–] Zealousideal_Low1287@alien.top 1 points 10 months ago

Never ask ‘how can I do X using Y’

Ask ‘how can I do X’

[–] oo_viper_oo@alien.top 1 points 10 months ago

Well, you could calculate distance of all product names or descriptions using some textdistance metric, e.g., rapidfuzz, and then apply clustering on that distance matrix. Resulting clusters would correspond to the products. If you had product images, you could do with some image distance metric.

[–] mcjoness@alien.top 1 points 10 months ago (1 children)

Hell ya I love what we got going in here. @OP let me know when you make progress and share your code, would ya?

[–] Used-Preparation-921@alien.top 1 points 10 months ago

Sure Would love to share my progress with you

[–] saintshing@alien.top 1 points 10 months ago (1 children)

First of all, do you already have the data? Scraping and maintaining an updated product list is an entirely separate task and it is not easy.

If you have already scrapped the data, what data do you have? Just title, or you have the description, brand, model number, images? There was a kaggle competition on matching two products on Shopee for price match guarantee(based on titles and images). You can look at some of the winning solutions.

https://www.kaggle.com/competitions/shopee-product-matching

I looked at your post history. You are tring to sell your price monitoring tool but it seems like you dont have a working prototype based on this question?

[–] Used-Preparation-921@alien.top 1 points 10 months ago

Hi,
thanks for sharing the Kaggle link will look into it. Yes, I have built a Price Monitoring tool and it is live as well. But currently, the user needs to add the URLs manually or provide the same to us in excel/csv format. I asked this question because I want to automate this process.