doc
This commit is contained in:
parent
e0b27235df
commit
1e291516f0
6 changed files with 84 additions and 5 deletions
|
|
@ -39,9 +39,8 @@ The e-commerce industry is growing substantially, and wide range of products bei
|
||||||
|
|
||||||
Developing a machine learning model to predict the multi level product categories has series of task and is a complex process. In this paper, to reduce the complexity and primarily focus on the classification problem, author choose to develop a model which predicts the lowest level of category only based on one feature that is the name of the product. Once the smaller working prototype is developed, more features can be integrated along with multiple levels of category.
|
Developing a machine learning model to predict the multi level product categories has series of task and is a complex process. In this paper, to reduce the complexity and primarily focus on the classification problem, author choose to develop a model which predicts the lowest level of category only based on one feature that is the name of the product. Once the smaller working prototype is developed, more features can be integrated along with multiple levels of category.
|
||||||
|
|
||||||
\subsection{Data collection}
|
% \subsection{Data collection}
|
||||||
The data on which the research will be conducted belongs to an E-commerce industry specializing in automotive parts \footnote{\url{www.retromotion.com}; Accessed on : 05-09-2023}. Ebay, Amazon are few of the third party business partners from which the source of data is fetched. Automotive parts manufacturing companies such as Mahle GmbH and others furnish stock details. These data from various suppliers will be processed and stored into search analytic engine-Elastic search. In this project, author fetches product features from Elastic search. Author uses Pytorch a machine learning library to create a classification model.
|
% The labelled training data set belongs to an E-commerce industry specializing in automotive parts \footnote{\url{www.retromotion.com}; Accessed on : 05-09-2023}. In this project, supervised classification model is developed using the pair of feature set and label. These data from various suppliers will be processed and stored into search analytic engine-Elastic search.
|
||||||
|
|
||||||
|
|
||||||
\subsection{Ideate: Vocabulary pattern}
|
\subsection{Ideate: Vocabulary pattern}
|
||||||
Initial approach of finding a solution to product categorization is to analyze already existing solution to a different type of classification problem. For example, \parencite{sean} demonstrates the working of character level RNN. In which, the pattern of series of characters forming a name of a person are classified to predict which language the name belongs to. Analyzing this example author created a vocabulary level RNN to predict the lowest level of category based on the pattern of product name.
|
Initial approach of finding a solution to product categorization is to analyze already existing solution to a different type of classification problem. For example, \parencite{sean} demonstrates the working of character level RNN. In which, the pattern of series of characters forming a name of a person are classified to predict which language the name belongs to. Analyzing this example author created a vocabulary level RNN to predict the lowest level of category based on the pattern of product name.
|
||||||
|
|
|
||||||
71
doc/chapters/taxonomy-background.tex
Normal file
71
doc/chapters/taxonomy-background.tex
Normal file
|
|
@ -0,0 +1,71 @@
|
||||||
|
\chapter{Literature Review}
|
||||||
|
|
||||||
|
\section{E-commerce and Product Taxonomy}
|
||||||
|
|
||||||
|
A product taxonomy is a hierarchical representation of product catalog organized logically so that the customer can find the product in the fewest possible clicks. The top levels of hierarchy are general terms and low levels are narrowed down to specific and semantically closer to the product.
|
||||||
|
|
||||||
|
|
||||||
|
Product taxonomy can be represented as a directed acyclic graph. The top level of root node traversing below to leaf nodes connected with unidirectional edges representing relationship between the nodes.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{tikzpicture}[node distance=2.5cm]
|
||||||
|
% Nodes
|
||||||
|
\node (sparepart) {SparePart};
|
||||||
|
\node (break-system)[right=3cm of sparepart] {Break system};
|
||||||
|
\node (cylinder-head)[below right of=break-system] {Wheel Brake Cylinder};
|
||||||
|
\node (coolingsystem) [below left of=sparepart] {Cooling System};
|
||||||
|
\node (fan) [below left of=coolingsystem] {Fan};
|
||||||
|
\node (electricalsystem) [below right of=sparepart] {Electrical System};
|
||||||
|
|
||||||
|
\node (lightingsystem) [below right of=electricalsystem] {Lighting System};
|
||||||
|
|
||||||
|
\node (headlighgt) [below right of=lightingsystem] {Headlight};
|
||||||
|
|
||||||
|
% Arrows
|
||||||
|
\draw[->] (sparepart) -- (coolingsystem);
|
||||||
|
\draw[->] (coolingsystem) -- (fan);
|
||||||
|
\draw[->] (sparepart) -- (electricalsystem);
|
||||||
|
\draw[->] (electricalsystem) -- (lightingsystem);
|
||||||
|
\draw[->] (lightingsystem) -- (headlighgt);
|
||||||
|
\draw[->] (break-system) -- (cylinder-head);
|
||||||
|
\end{tikzpicture}
|
||||||
|
|
||||||
|
|
||||||
|
What are the characteristics of this sample of product taxonomies?
|
||||||
|
\begin{itemize}
|
||||||
|
\item Product taxonomy has different lowest levels of hierarchy. For example, category ``Fan'' is at third level and ``Headlight'' being a part of ``Electrical Systems'' is at fourth level.
|
||||||
|
\item Few categories having similar vocabulary are part of same graph. For example, category with the word ``Brake'' are connected with the edges. Similary, the category ``Lighting system'' and its leaf node ``Headlight'' share a same semantically meaning word ``light''.
|
||||||
|
\item The root nodes ``Sparepart'' and ``Break system'' are isolated from each other, indicating that they do not have any common entity.
|
||||||
|
\item The node ``Break system'' could also be a part of node ``Sparepart'' and yet the taxonomy will remain well-defined as it is a general term.
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
|
These enlisted characteristics could be an insight on developing an automated product taxonomy.
|
||||||
|
|
||||||
|
How important is a well-defined product taxonomy?
|
||||||
|
\begin{itemize}
|
||||||
|
\item Customer filters the category to narrow down the search result, enabling them to find the required product in the fewest possible clicks.
|
||||||
|
\item Product recommendation system analyze the purchase history of customer and returns the related products. A well-defined product taxonomy is important for mapping the related products.
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
|
\section{Product Taxonomy Prediction Approaches}
|
||||||
|
|
||||||
|
|
||||||
|
A lot of research have been conducted on methodology for predicting taxonomy. Prediction of taxonomies narrows down to text classification. Text classification is a process of identifying the group or category in which the text belongs to. Few classification methods are decision trees, naive Bayes classifier and max entropy classifiers \parencite{BirdKleinLoper09}.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{itemize}
|
||||||
|
\item Decision tree
|
||||||
|
|
||||||
|
A decision tree is a flowchart that selects labels for input values. This flowchart consists of decision nodes, which check feature values, and leaf nodes, which assign labels.
|
||||||
|
|
||||||
|
\item Naive Bayes classifiers
|
||||||
|
|
||||||
|
In naive Bayes classifiers, each feature values determining which label should be assigned to a given input value. It begins by calculating prior probability of each label. It is determined by frequency of each label in the training set. Upon combining these prior probability, the likelihood estimation is calculated for each label. The with the highest likelihood estimate is assigned to the input values.
|
||||||
|
\end{itemize}
|
||||||
|
|
||||||
|
\section{Related work}
|
||||||
|
|
||||||
|
\parencite{AliCevahir.} describes implementing classification model by chunking the process to predict at every level using the \acl*{KNN} classifier. \parencite{Gupta.20062016} proposes a distributional semantics representation for predicting the product taxonomies.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
doc/images/category-examples.png
Normal file
BIN
doc/images/category-examples.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
|
|
@ -93,6 +93,7 @@ preliminary/affidavit, %
|
||||||
preliminary/abstract, %
|
preliminary/abstract, %
|
||||||
preliminary/acronyms, %
|
preliminary/acronyms, %
|
||||||
chapters/introduction, %
|
chapters/introduction, %
|
||||||
|
chapters/taxonomy-background, %
|
||||||
chapters/chapter2,%
|
chapters/chapter2,%
|
||||||
chapters/chapter3,%
|
chapters/chapter3,%
|
||||||
chapters/chapter4,%
|
chapters/chapter4,%
|
||||||
|
|
@ -128,7 +129,7 @@ chapters/appendix%
|
||||||
|
|
||||||
%---------------------------------------
|
%---------------------------------------
|
||||||
\include{chapters/introduction.tex}
|
\include{chapters/introduction.tex}
|
||||||
|
\include{chapters/taxonomy-background}
|
||||||
\include{chapters/chapter2}
|
\include{chapters/chapter2}
|
||||||
\include{chapters/chapter3}
|
\include{chapters/chapter3}
|
||||||
\include{chapters/chapter4}
|
\include{chapters/chapter4}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{\Large \bfseries Application of Natural language processing in ECommerce}
|
{\Large \bfseries Application of Natural language processing in E-Commerce \\ Predicting product taxonomy}
|
||||||
\vspace*{3\baselineskip}
|
\vspace*{3\baselineskip}
|
||||||
|
|
||||||
{\Large Master Thesis}
|
{\Large Master Thesis}
|
||||||
|
|
|
||||||
|
|
@ -98,3 +98,11 @@ It's important to note that the success of product categorization using machine
|
||||||
\item Manhattan distance.
|
\item Manhattan distance.
|
||||||
\item Hamming distance.
|
\item Hamming distance.
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{figure}
|
||||||
|
\centering
|
||||||
|
\includegraphics[scale=0.9]{loss_0015.png}
|
||||||
|
\caption{Loss vs Learning rate; where $max\_lr = 0.015$}
|
||||||
|
\label{fig:Loss value at 0.015}
|
||||||
|
\end{figure}
|
||||||
Loading…
Reference in a new issue