Skip to content

Yassaadi/NLP_CV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

NLP_CV

Yassine Assaadi: NLP and CNN for products (image+text) clustering

Objectif

The mission is to conduct a feasibility study for a product classification engine in its initial iteration. The engine will be based on an image and a description to automate the assignment of product categories.

Steps

Preprocess the text or image data, depending on the case. Extract features from the data. Reduce the dimensionality to 2D, projecting the products onto a 2D graph where each point's color corresponds to the actual category. Analyze the graph to determine the feasibility of automatically grouping products of the same category based on descriptions or images. Perform a quantitative measure to confirm the visual analysis by calculating the similarity between the actual categories and the categories obtained from clustering. The goal is to demonstrate the feasibility of automatically grouping products of the same category using this approach.

constraints:

Text features

To extract text features, the following approaches need to be implemented:

Two bag-of-words approaches: simple word counting and TF-IDF.

A traditional word/sentence embedding approach using Word2Vec (or Glove or FastText).

A word/sentence embedding approach using BERT.

A word/sentence embedding approach using USE (Universal Sentence Encoder).

Attached is an example implementation of these text feature extraction approaches on a different dataset. It is recommended to use it as a starting point to save time.

Image features

To extract image features, the following need to be implemented:

SIFT algorithm.

A CNN Transfer Learning algorithm.

Assaadi_Yassine_2_présentation_022023  pptx (1) Assaadi_Yassine_2_présentation_022023  pptx (2) Assaadi_Yassine_2_présentation_022023  pptx (3) Assaadi_Yassine_2_présentation_022023  pptx (4) Assaadi_Yassine_2_présentation_022023  pptx (5) Assaadi_Yassine_2_présentation_022023  pptx (6) Assaadi_Yassine_2_présentation_022023  pptx (7) Assaadi_Yassine_2_présentation_022023  pptx (8) Assaadi_Yassine_2_présentation_022023  pptx (9) Assaadi_Yassine_2_présentation_022023  pptx (10) Assaadi_Yassine_2_présentation_022023  pptx (11) Assaadi_Yassine_2_présentation_022023  pptx (12) Assaadi_Yassine_2_présentation_022023  pptx (13) Assaadi_Yassine_2_présentation_022023  pptx (14) Assaadi_Yassine_2_présentation_022023  pptx (15) Assaadi_Yassine_2_présentation_022023  pptx (16) Assaadi_Yassine_2_présentation_022023  pptx (17) Assaadi_Yassine_2_présentation_022023  pptx (18) Assaadi_Yassine_2_présentation_022023  pptx (19)