This commit is contained in:
shoney.arickathil 2023-09-21 02:34:20 +02:00
parent f3c2d59171
commit 4216207bd9
2 changed files with 21 additions and 1 deletions

View file

@ -497,6 +497,26 @@ Figure \ref{fig:meval} is the confusion matrix of the model trained only for 20
\label{fig:meval}
\end{figure}
\subsection*{Actual vs Predicted category}
Author tested the model with test data of 10000 pairs of product name and category.
Analyzing the falsely predicted result of 1455 records gained insight of incorrect categorization of existing products. Table \ref{table:false_negative} refers to a sample of record which the model falsely predicted the category.\\ Which means $y_{pred} \neq y_{true}$. However, this records indicate a false negative record, which means the $y_{pred}$ is incorrectly saved possibly due to human error.
\begin{table}[h]
\centering
\caption{False negative - sample data}
\label{table:false_negative}
\begin{tabular}{ lll }
\toprule
\textbf{Name} & \textbf{$y_{true}$} & \textbf{$y_{pred}$} \\
\midrule
RPM Sensor, engine management&Sensor&RPM Sensor \\
\bottomrule
\end{tabular}
\end{table}
\section{Model Deployment}
A \textbf{.pt} file represents the PyTorch model checkpoint file. These files store the parameter and architecture of trained PyTorch model. The PyTorch's torch.save and torch.load function uses the pythons Pickle (refer section \ref{sec:ngram_vector}) utility for serialization \parencite{savept}.

View file

@ -9,7 +9,7 @@
Business-to-business or business-to-consumer transactions conducted online is increasing substantially. Manufacturers and suppliers rely on various sales channels such as an E-commerce website to gain a market share. E-commerce platforms fetches manufacture's or supplier's version of multilingual product information including the products' taxonomy from the \acf{PIM} systems. Vocabulary used in defining a product taxonomy may differ from one source to another. In E-commerce platform, mediation of machine learning model to predict the product taxonomy eases the process of product information deployment.
In this thesis, the author developed a supervised classification model to predict the product taxonomy using open source deep learning framework PyTorch. Author described the data pre-processing methods, architecture of \acf{RNN}, parameter tuning, model evaluation and deployment. The concepts of neural networks, classification problem and machine learning process were analyzed from a mathematical point of view.
In this thesis, the author developed a supervised text based classification model to predict the product taxonomy using open source deep learning framework PyTorch. Author described the data pre-processing methods, architecture of \acf{RNN}, parameter tuning, model evaluation and deployment. The concepts of neural networks, classification problem and machine learning process were analyzed from a mathematical point of view.
Initially, research on impact of well-defined product taxonomy on a recommendation system, virtual agents, \acf{SEO}, in an E-commerce was conducted. The concept of supervised learning and classification methods was presented. Recent developments and research related to E-Commerce and its reliance on \acf{nlp} and machine learning algorithm were shown. In the following chapters, the step by step implementation of an RNN based classification model were described. Finally, the model was evaluated using the confusion matrix.