This commit is contained in:
shoney 2023-07-02 21:48:50 +00:00
parent 133a26f822
commit a0f6e6534a
2 changed files with 52 additions and 19 deletions

View file

@ -142,6 +142,9 @@
url = {https://wikipedia-api.readthedocs.io/en/latest/wikipediaapi/api.html} url = {https://wikipedia-api.readthedocs.io/en/latest/wikipediaapi/api.html}
} }
@online{wkpd, @online{wkpd,
author = {Wikipedia}, author = {Wikipedia},
title = {{Wikipedia special exports}}, title = {{Wikipedia special exports}},
@ -150,6 +153,7 @@
note = {[Online; accessed 01-May-2023]} note = {[Online; accessed 01-May-2023]}
} }
@techreport{hagberg2008exploring, @techreport{hagberg2008exploring,
title={Exploring network structure, dynamics, and function using NetworkX}, title={Exploring network structure, dynamics, and function using NetworkX},
author={Hagberg, Aric and Swart, Pieter and S Chult, Daniel}, author={Hagberg, Aric and Swart, Pieter and S Chult, Daniel},
@ -206,3 +210,10 @@
} }
@online{sean,
author = {Sean Robertson},
title = {{Classifying names with a character level RNN}},
url={https://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html}},
year = {2023},
note = {[Online; accessed 02-June-2023]}
}

View file

@ -9,23 +9,21 @@
\usepackage{multicol,caption} \usepackage{multicol,caption}
\usepackage{tikz} \usepackage{tikz}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{graphicx}
\usepackage[inkscapeformat=png]{svg} \usepackage[inkscapeformat=png]{svg}
\usetikzlibrary{matrix,fadings,arrows,trees,calc,positioning,decorations,automata,fit,backgrounds}
\usepackage{blindtext} \usepackage{blindtext}
\usepackage[inkscapeformat=png]{svg} \usepackage[inkscapeformat=png]{svg}
\usepackage{booktabs} \usepackage{booktabs}
\usetikzlibrary{matrix,fadings,arrows,trees,calc,positioning,decorations,automata,fit,backgrounds}
\pagecolor{red!5} \pagecolor{red!5}
\columnsep=50pt \columnsep=50pt
% \columnseprule=2pt % \columnseprule=2pt
\graphicspath{ {images/} } \graphicspath{ {images/} }
\addbibresource{References.bib}
\renewcommand{\section}[1]{ \renewcommand{\section}[1]{
\begin{center} \begin{center}
\begin{tikzpicture} \begin{tikzpicture}
\draw node[fill=white!10, text width=0.97\linewidth, text centered, inner sep=10pt, rounded corners=5pt, draw=red!80] \draw node[fill=white!10, text width=0.85\linewidth, text centered, inner sep=10pt, rounded corners=5pt, draw=red!80]
{\textbf{#1}}; {\textbf{#1}};
\end{tikzpicture} \end{tikzpicture}
@ -33,14 +31,20 @@
} }
\renewcommand{\subsection}[1]{ \renewcommand{\bibfont}{}
\begin{center}
\begin{tikzpicture}
\draw node[fill=white!10, text width=0.97\linewidth, text centered, inner sep=10pt, rounded corners=5pt, draw=red!30]
{\textbf{#1}};
\end{tikzpicture}
\end{center} % {\subsection*{References }}
\addbibresource{References.bib}
\renewcommand{\subsection}[1]{
% \begin{center}
% \begin{tikzpicture}
% \draw node[fill=white!10, text width=0.97\linewidth, text centered, inner sep=10pt, rounded corners=5pt, draw=red!30]
% {\textbf{#1}};
% \end{tikzpicture}
{\textbf{#1}}
% \end{center}
} }
@ -75,14 +79,18 @@
\begin{multicols*}{3} \begin{multicols*}{3}
\fontsize{30}{40} \fontsize{30}{35}
\selectfont \selectfont
\section{Introduction} \section{Introduction}
Ever increasing demand of online platforms trending online shopping huge number of products for online sales need to add category for the products Un matching product taxonomy from various source. Existing taxonomy unsupervised learning model need of the hour to create an AI model to predict the category tree in which the product belongs to based on the product features such as description, manufacture. E-commerce sales are increasing exponentially ever since the world is connected online. Convinience for searching the desired product, comparing different products before making a purchase and easy access on tips of the finger has made online shoping trending especially among the youth. A vast variety of products are sold online.
Product taxonomy (categorization) is the logical and heirarchical arrangement of the company's product. A well defined product taxonomy enables customers to search the desired product in least number of clicks on an E-commerce website.
An AI of unsupervised learning model to create product taxonomy based on product features is the need of the hour. In this paper, a research on automating the process of defining the product taxonomy is conducted.
\section{Problem statement and objective} \section{Problem statement and objective}
Suppliers and manufactures provide the product details which must be analyzed and fit into the existing vocabular of the product category taxonomy. Make deployment ready products taxonomy. If a supplier name a certain product category as "Engine oil" and the category already existing is "Motor Oil". In such case importing the category from the supplier may lead to having two categories at same level. Imagine this issue with thousands of products solds on the ecommerse website. The ecomerse webiste will need to manage many categories. This paper researched on implementation of a text based classification model for predicting the category of the product based on product features.
In a business to business(B2B) type of E-commerse, the product taxonomy exchange between the companies such as suppliers and manufactures and online reteiler may differ. Product taxonomy must be analyzed and fit into the existing vocabular of the product taxonomy of online retailer. An example, if a supplier name a certain product category as "Engine oil" and the category already existing at online retailer is "Motor Oil". In such case importing the category from the supplier may result in poorly defined product taxonomy. The objective is to perform feature selection of product details using scikit learn \parencite{sklearn_api}, process text based classification on each heirarchy to predict the category levels of the product.
\begin{multicols}{2} \begin{multicols}{2}
\section{Tools and Technologies} \section{Tools and Technologies}
@ -102,7 +110,18 @@
\end{multicols} \end{multicols}
\columnbreak
\section{Methodology}
Design thinking a user-centered aprroach enabled to define the problems and its solutions while developing the model which predicts multi-level product category.
\begin{enumerate}
\item Inspitation: Product details imported from manufactures or suppliers were needed to be scrutinize before making these ready for deployment and publically available for customers.
\item Empathize: User of a "Predicting the product category" are the E-commerse industries. Gained in depth understanding of the user needs.
\item Ideate: Tuitorial on character-level RNN \parencite{sean} provides a basic building block for a RNN. Modifying it to work with word or vocabulary level RNN help achieve the goal of predicting category based on product features.
\item Prototype: Creating a prototype of predicting category based on a single feature of product before including all the features.
\item Test: Testing the prototype and gaining the feedback from the user.
\end{enumerate}
\section{Network Architecture - Recurrent Neural Network} \section{Network Architecture - Recurrent Neural Network}
% \begin{Figure} % \begin{Figure}
@ -137,7 +156,8 @@
\item Better shaped neural network architecture is developed. \item Better shaped neural network architecture is developed.
\end{enumerate} \end{enumerate}
\subsection{Table: Before and After normalization} \vspace{1cm}
\subsection{Text: Before and After normalization}
\begin{center} \begin{center}
\begin{tabular}{lll} \begin{tabular}{lll}
\toprule \toprule
@ -150,10 +170,10 @@
\end{tabular} \end{tabular}
\end{center} \end{center}
\vspace{1cm}
\columnbreak
\subsection{Confusion Matrix} \subsection{Confusion Matrix}
Confusion matrix displays how well the network performed on different categories. It is a matrix of actual categories (rows) which category the network guesses (columns). In figure \ref{fig:cm}, the yellow cells aligned diagonally shows the correct guesses by the network. Confusion matrix displays how well the network performed on different categories. It is a matrix of actual categories (rows) which category the network guesses (columns). In figure \ref{fig:cm}, the yellow cells aligned diagonally shows the correct guesses by the network.
\begin{Figure} \begin{Figure}
\centering \centering
\includegraphics[width=0.50\linewidth]{confusion._200epoch} \includegraphics[width=0.50\linewidth]{confusion._200epoch}
@ -162,6 +182,8 @@
\label{fig:cm} \label{fig:cm}
\end{Figure} \end{Figure}
\printbibliography