The sample code repository leverages Azure Text Analytics to extract key phrases from the product description as additional product features. And perform text relationship analysis with TF-IDF (Term Frequency – Inverse Document Frequency) vectorization and Cosine Similarity for product recommendation.
- azure_text_analytics_key_phrase_extract_demo.ipynb <-- Read product descriptions and pass them to Azure Text Analytics to extract key phrases.
- content_based_product_recommendation_sample_1.ipynb <-- Perform text relationship analysis with TF-IDF (Term Frequency – Inverse Document Frequency) vectorization and Cosine Similarity for product recommendation
- .\data\data_v2.csv <-- Origional sample dataset.
- .\data\data_v3a.csv <-- Curated dataset after key phrased extraction.
- .\data\data_v3b.csv <-- Curated dataset after key phrased extraction and basic data cleaning.
Enjoy!