This commit is contained in:
shoney.arickathil 2023-09-22 12:24:47 +02:00
parent 42fe3bf9f3
commit 01c6405cbc
7 changed files with 23 additions and 24 deletions

View file

@ -70,9 +70,9 @@ class Predict():
def __init__(self):
self.rnn = torch.load('ngram-rnn-classification.pt')
\end{lstlisting}
\clearpage
\section{Appendix B}
\begin{figure}
\begin{figure}[H]
\centering
\includegraphics[scale=0.5]{ht_rm.jpg}
\caption{Hydraulic filter automatic transmission VAICO V70-0613 for Lexus RX \parencite{RM}}

View file

@ -49,7 +49,7 @@ A feature represents a dataset fine-tuned to serve as a training data for machin
\item Recursive feature elimination
\end{itemize}
\clearpage
\subsection{Obvious Feature Selection}
In this paper, the datasets used are of an ecommerce business specializing in automotive industry domain. Secondary dataset used is from the TecDoc catalogue by TecAlliance \footnote{https://www.tecalliance.net/}.
@ -112,9 +112,10 @@ The above code fetches indexed product name and its lowest hierarchy level categ
Table \ref{table:enc} highlights the total number of products and category and name of fields considered as feature and label.
\clearpage
\section{Text Normalization} \label{text_normalization}
Text normalization is a process of transforming the document into a standard and consistent form of a text. A document is a text from single source. Some examples of document are list of product names from databases, a pdf file, texts retrieved from web scraping. Text normalization enables to perform required operations on the text as the text inputs are consistent across the document. The process of text normalization varies based on the type of text that needs to be normalize. There is no standard method for text normalization task. In this paper, text normalization of product name and category from the database source is performed.
Text normalization is a process of transforming the document into a standard and consistent form of a text. A document is a text from single source. Some examples of document are list of product names from databases, a pdf file, texts retrieved from web scraping. Text normalization enables to perform required operations on the text as the text inputs are consistent across the document. The process of text normalization varies based on the type of text that needs to be normalized. There is no standard method for text normalization task. In this paper, text normalization of product name and category from the database source is performed.
In table \ref{table:TN}, displays the difference in text before and after normalization.
@ -156,7 +157,7 @@ The better option would be to use Beautiful Soup \footnote{https://www.crummy.co
soup = BeautifulSoup(doc, 'html.parser')
text =soup.get_text()
\end{lstlisting}
\clearpage
\subsection{Cleaning Text}
A product detail text may contain non-word characters represented in regular expression as \textbackslash W. It may also contain space separated decimals describing the dimensional values of the product such as weight, height. Regular expressions could be used for removing the non-character words and spaces between the decimal values, using code \ref{cd:ct}.
@ -254,7 +255,7 @@ Replacing the most frequent categorical value in a column is known as mode imput
Mode imputation on categorical data are prone to fill incorrect data if the missing data is not the most frequent one.
\clearpage
\subsection{\acf{KNN} imputation}
\acl{KNN} is a supervised learning algorithm and is used to search dataset with the most similar elements to a given query element, with similarity defined by a distance function. This imputation method is suitable for categorical data.

View file

@ -6,14 +6,12 @@ While working at an e-commerce industry, specializing in sales of automobile par
Defining the product taxonomy is a prior and crucial task of product information deployment. A well-defined product taxonomy enables customers to search the product with the fewest possible clicks. Manually defining the product taxonomies requires a significant amount of time and are prone to human error.
The e-commerce industry is growing substantially, and wide range of products being offered online. Utilization of machine learning model for recommending the products to the customer, auto completing the search text, automatically filtering of products based on the product description provided by the customer are few examples of function facilitated by artificial intelligence. It is important to note that successful execution of all these functionalities primary requirement is to have a well-defined product taxonomy.
The e-commerce industry is growing substantially, and wide range of products are being offered online. Utilization of machine learning model for recommending the products to the customer, auto completing the search text, automatically filtering of products based on the product description provided by the customer are few examples of function facilitated by artificial intelligence. It is important to note that successful execution of all these functionalities primary requirement is to have a well-defined product taxonomy.
Customer review monitoring system uses natural language processing to understand the semantic meaning of the comment. Determining whether a customer is satisfied or dissatisfied based on their review can be a complex task. By understanding the semantic meaning helps to identify the negatively commented review regarding a product or service. The reviews are classified as either positive or negative, similar to the classification problem of predicting the product category.
Understanding the mathematical foundations of neural network is important to develop a robust supervised text classification model for predicting the product taxonomy. Analyzing the research path intersecting between mathematics and \acl{AI} leverages the ongoing development of building better machine learning model.
This paper also presents the concept of knowledge base. In this thesis, author presents a prototype for converting the unstructured textual data into a directed acyclic graph.
\clearpage
\section{Research questions}
\begin{enumerate}[label=\textbf{RQ\arabic*:}]
@ -61,19 +59,20 @@ In this paper, author researches on the relevance of the mathematical concept wi
\clearpage
\section{Structure of the Thesis}
This thesis is divided in three parts. Part 1, that is Chapter 1 and chapter 2 introduces the research topic, Part 2 that is chapter 2 and chapter 3 describes \acl{nlp} and basic concepts of machine learning. The following chapters are the guide to develop a classification model for predicting the product taxonomy.
In the first chapter, author introduces the domain of research,the importance of the research, research questions and methodology.
In the first chapter, author introduces the domain of research, the importance of the research, research questions and methodology.
The second chapter indulges the reader to understand the basics of machine learning and product taxonomy before diving into the implementation.
In the third chapter, defining or selecting the features from a document is described. It introduces various analytic engine tools and methods for feature selection. It describes various methods to standardize the text data and preprocess it before making it as an input to the classification model. The chapter focuses on retaining the missing textual data from the dataset from which the classification model will be predicting the product category. The chapter is a guideline on vectoring or transforming the text into machine usable numerical form called feature extraction.
The third chapter, describes the application of natural language processing into developing knowledge graph.
In the fourth chapter, how author classifies the product by representing the features of the product into vector of entire vocabulary of dataset is depicted. The architecture of neural network used for the prediction is described in this chapter. Mathematical equations on probability distribution, Softmax and why to apply log to softmax is formulated.
The forth chapter, is research on mathematical relationship between a basic neural network and its functions such as feedforward and back propagation. This chapter has a detailed description of the machine learning process. Mathematical concepts such as partial derivatives, \acl{MSE}, log of a value, probability distribution is described in this chapter. It also describes \acl{RNN} and its mathematical equation.
In the fifth chapter, the author describes the classification models training process. The experimentation and analysis of model with different parameters are conducted. This chapter also describes the python code related to back propagation. Experimentation with learning rate parameter of the model is conducted.
In the fifth chapter, defining or selecting the features from a document is described. It introduces various analytic engine tools and methods for feature selection. It describes various methods to standardize the text data and preprocess it before making it as an input to the classification model. The chapter focuses on retaining the missing textual data from the dataset from which the classification model will be predicting the product category. The chapter is a guideline on vectoring or transforming the text into machine usable numerical form called feature extraction.
The sixth chapter, is research on mathematical relationship between a basic neural network and its functions such as feedforward and back propagation. This chapter has a detailed description of the machine learning process. Mathematical concepts such as partial derivatives, \acl{MSE}, log of a value, probability distribution is described in this chapter. It also describes \acl{RNN} and its mathematical equation.
In the sixth chapter, how author classifies the product by representing the features of the product into vector of entire vocabulary of dataset is depicted. The architecture of neural network used for the prediction is described in this chapter. Mathematical equations on probability distribution, Softmax and why to apply log to softmax is formulated.
The seventh chapter, describes the application of natural language processing into developing knowledge graph.
In the seventh chapter, the author describes the classification models training process. The experimentation and analysis of model with different parameters are conducted. This chapter also describes the python code related to back propagation. Experimentation with learning rate parameter of the model is conducted.
The final chapter, concludes the thesis along with research questions and future scope of research. Author also describes the research boundaries chosen for this thesis.

View file

@ -1,4 +1,4 @@
\chapter{Model selection : Neural networks} \label{sec:feature-extraction}
\chapter{Defining Model Architecture: Neural networks} \label{sec:feature-extraction}
\section{Understanding Pytorch tutorial on \textit{classifying names with a character-level \acs{RNN}} } \label{sec:chRNN}
@ -24,11 +24,11 @@
\bottomrule
\end{tabular}
\end{table}
\clearpage
\subsection{Vector input and scalar output of the classification model}
It is a character level \acs*{RNN} which reads words as a series of characters. Figure \ref{fig:pytorch} shows the flow of name information to the neural network as a sequence of characters. One character at a time is feed in classification model built using RNN and outputs the language corresponding to that name.
\begin{figure}[htp!]
\begin{figure}[H]
\centering
\includesvg[scale=0.5]{pytorchTuitorial.svg}
\caption{Language prediction based on name}

BIN
doc/images/signature.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View file

@ -155,11 +155,11 @@ preliminary/abstract, %
preliminary/acronyms, %
chapters/introduction, %
chapters/literature-review, %
chapters/building-kg, %
chapters/math-behind, %
chapters/data-preprocessing, %
chapters/model-selection, %
chapters/training-hypertuning, %
chapters/math-behind, %
chapters/building-kg, %
chapters/conclusion, %
chapters/appendix%
}
@ -189,11 +189,11 @@ chapters/appendix%
%---------------------------------------
\include{chapters/introduction.tex}
\include{chapters/literature-review}
\include{chapters/building-kg}
\include{chapters/math-behind}
\include{chapters/data-preprocessing}
\include{chapters/model-selection}
\include{chapters/training-hypertuning}
\include{chapters/math-behind}
\include{chapters/building-kg}
\include{chapters/conclusion}
\pagenumbering{roman}

View file

@ -14,7 +14,6 @@ I, \textbf{Shoney Arickathil}, solemnly affirm and declare:
\vspace*{5\baselineskip}
Heidelberg, \today \hspace*{1mm} \hrulefill
\end{titlepage}