This commit is contained in:
shoney 2023-06-30 19:26:38 +00:00
parent 36c8453bd3
commit 2e71463618
7 changed files with 172 additions and 96 deletions

View file

@ -192,3 +192,17 @@
year = {2013}, year = {2013},
pages = {108--122}, pages = {108--122},
} }
% This file was created with Citavi 6.15.2.0
@misc{Paszke.03122019,
abstract = {Deep learning frameworks have often focused on either usability or speed, but not both. PyTorch is a machine learning library that shows that these two goals are in fact compatible: it provides an imperative and Pythonic programming style that supports code as a model, makes debugging easy and is consistent with other popular scientific computing libraries, while remaining efficient and supporting hardware accelerators such as GPUs. In this paper, we detail the principles that drove the implementation of PyTorch and how they are reflected in its architecture. We emphasize that every aspect of PyTorch is a regular Python program under the full control of its user. We also explain how the careful and pragmatic implementation of the key components of its runtime enables them to work together to achieve compelling performance. We demonstrate the efficiency of individual subsystems, as well as the overall speed of PyTorch on several common benchmarks.},
author = {Paszke, Adam and Gross, Sam and Massa, Francisco and Lerer, Adam and Bradbury, James and Chanan, Gregory and Killeen, Trevor and Lin, Zeming and Gimelshein, Natalia and Antiga, Luca and Desmaison, Alban and K{\"o}pf, Andreas and Yang, Edward and DeVito, Zach and Raison, Martin and Tejani, Alykhan and Chilamkurthy, Sasank and Steiner, Benoit and Fang, Lu and Bai, Junjie and Chintala, Soumith},
date = {03/12/2019},
title = {PyTorch: An Imperative Style, High-Performance Deep Learning Library},
url = {https://arxiv.org/pdf/1912.01703.pdf},
urldate = {30/06/2023},
file = {1912.01703:Attachments/1912.01703.pdf:application/pdf}
}

View file

@ -1 +1,3 @@
\chapter{Neural networks for classification model} \chapter{Neural networks for classification model}
Pyroch \parencite{Paszke.03122019}

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="488px" height="121px" viewBox="0 0 488 121" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<!-- Generated by Pixelmator Pro 1.5.5 -->
<g id="group">
<path id="Path" d="M63.1 28.3 L56.5 34.9 C67.3 45.7 67.3 63.1 56.5 73.7 45.7 84.5 28.3 84.5 17.7 73.7 6.9 62.9 6.9 45.5 17.7 34.9 L34.8 17.8 37.2 15.4 37.2 2.5 11.4 28.3 C-3 42.7 -3 65.9 11.4 80.3 25.8 94.7 49 94.7 63.1 80.3 77.5 65.8 77.5 42.7 63.1 28.3 Z" fill="#ee4c2c" fill-opacity="1" stroke="none"/>
<path id="Path-1" d="M55 21.9 C55 24.551 52.851 26.7 50.2 26.7 47.549 26.7 45.4 24.551 45.4 21.9 45.4 19.249 47.549 17.1 50.2 17.1 52.851 17.1 55 19.249 55 21.9 Z" fill="#ee4c2c" fill-opacity="1" stroke="none"/>
</g>
<g id="group-1">
<g id="group-2">
<path id="Path-2" d="M129.8 61.3 L118.7 61.3 118.7 89.8 110.3 89.8 110.3 8.7 130.7 8.7 C152 8.7 162.2 19.2 162.2 33.9 162.5 52 149.9 61.3 129.8 61.3 Z M130.7 16.8 C129.8 16.8 119 16.8 119 16.8 L119 54.1 130.4 53.8 C145.7 53.5 154.1 47.5 154.1 34.9 154.1 23.1 145.7 16.8 130.7 16.8 Z" fill="#000000" fill-opacity="1" stroke="none"/>
<path id="Path-3" d="M199.8 89.5 L195 102.4 C189.6 116.8 183.9 121 175.8 121 171.3 121 168 119.8 164.4 118.3 L166.8 110.8 C169.5 112.3 172.5 113.5 175.8 113.5 180.3 113.5 183.6 111.1 188.1 99.7 L192 89.2 168.9 30.6 177.6 30.6 196.2 79.6 214.5 30.6 222.9 30.6 Z" fill="#000000" fill-opacity="1" stroke="none"/>
<path id="Path-4" d="M250.3 16.8 L250.3 90.1 241.9 90.1 241.9 16.8 213.4 16.8 213.4 9 278.6 9 278.6 16.8 C278.5 16.8 250.3 16.8 250.3 16.8 Z" fill="#000000" fill-opacity="1" stroke="none"/>
<path id="Path-5" d="M302.3 91.6 C285.8 91.6 273.8 79.3 273.8 60.4 273.8 41.5 286.4 28.9 303.2 28.9 320 28.9 331.7 41.2 331.7 60.1 331.4 79 318.8 91.6 302.3 91.6 Z M302.6 36.4 C290 36.4 281.9 46.3 281.9 60.4 281.9 74.8 290.3 84.7 302.9 84.7 315.5 84.7 323.6 74.8 323.6 60.7 323.6 46 315.2 36.4 302.6 36.4 Z" fill="#000000" fill-opacity="1" stroke="none"/>
<path id="Path-6" d="M351.8 90.1 L343.7 90.1 343.7 30.6 351.8 28.8 351.8 41.4 C355.7 33.9 361.4 28.8 369.2 28.8 373.1 28.8 376.7 30 379.7 31.5 L377.6 39 C374.9 37.5 371.9 36.3 368.6 36.3 362.3 36.3 356.6 41.1 351.8 51.6 Z" fill="#000000" fill-opacity="1" stroke="none"/>
<path id="Path-7" d="M411.3 91.6 C393.3 91.6 382.2 78.7 382.2 60.4 382.2 41.8 394.5 28.9 411.3 28.9 418.5 28.9 424.8 30.7 429.9 34 L427.8 41.2 C423.3 38.2 417.6 36.4 411.3 36.4 398.4 36.4 390.6 46 390.6 60.1 390.6 74.5 399 84.1 411.6 84.1 417.6 84.1 423.6 82.3 428.1 79.3 L429.9 86.8 C424.5 89.8 418.2 91.6 411.3 91.6 Z" fill="#000000" fill-opacity="1" stroke="none"/>
<path id="Path-8" d="M479.5 90.1 L479.5 51.6 C479.5 41.1 475.3 36.6 466.9 36.6 460 36.6 453.4 40.2 448.6 45 L448.6 90.1 440.5 90.1 440.5 2.7 448.6 0.9 448.6 38.5 C454.9 32.2 462.7 29.2 469.3 29.2 480.7 29.2 487.9 36.7 487.9 49.6 L487.9 90.2 479.5 90.2 Z" fill="#000000" fill-opacity="1" stroke="none"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View file

Before

Width:  |  Height:  |  Size: 724 B

After

Width:  |  Height:  |  Size: 724 B

135
doc/page.tex Normal file
View file

@ -0,0 +1,135 @@
\documentclass{article}
\usepackage[svgnames]{xcolor}
\usepackage[a0paper,landscape,margin=3cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[sorting=nyt,backend=biber,style=authoryear,block=par]{biblatex}
\usepackage{anyfontsize}
\usepackage{tikz}
\usepackage{mathpazo}
\usepackage{multicol}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{graphicx}
\usepackage[inkscapeformat=png]{svg}
\usetikzlibrary{matrix,fadings,arrows,trees,calc,positioning,decorations,automata,fit,backgrounds}
\usepackage{blindtext}
\usepackage[inkscapeformat=png]{svg}
\usepackage{booktabs}
\pagecolor{red!5}
\columnsep=50pt
% \columnseprule=2pt
\graphicspath{ {images/} }
\addbibresource{References.bib}
\renewcommand{\section}[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!80]
{\textbf{#1}};
\end{tikzpicture}
\end{center}
}
\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}
\end{center}
}
\begin{document}
\fontsize{55}{65}
\selectfont
\begin{tikzpicture}
\node[inner sep=0pt] (logo) {\includesvg{SRH_Bildung.svg}};
\draw node[text width=0.87\linewidth,text centered,rounded corners=5pt,inner sep=30pt,right=100pt of logo] (title){
{Application of Natural Language Processing in an E-commerce industry}\\[0.5cm]
\fontsize{50}{55}
\selectfont
{Predicting multilevel product category} \\[1cm]
\fontsize{40}{50}
\selectfont
Shoney Arickathil, Prof. Dr. Gerd Moeckel \\[0.5cm]
\fontsize{50}{50}
\selectfont
Applied Computer Science, SRH Hochschule, Heidelberg
};
\begin{scope}[on background layer]
\node [fill=Red!10, fit={(logo) (title)}] {};
\end{scope}
\end{tikzpicture}
\vspace{1cm}
\begin{multicols}{3}
\fontsize{30}{40}
\selectfont
\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.
\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.
\begin{multicols}{2}
\section{Tools and Technologies}
\includesvg{PyTorch_logo_black.svg} \\
Pytorch \parencite{Paszke.03122019} is a machine learnning library which provides Pythonic programming style. The open-source Python ecosystem packages like NumPy, SciPy and Pandas fulfills most of the numerical analysis needs of research. Python provides vast repositories of libraries to handle data preprocessing, statistical analysis and plotting.
Pytorch performs execution of dynamic tensors computation with automatic differentiation for efficient gradient based optimization.
\columnbreak
\section{Research questions}
\begin{enumerate}
\item How Natural Language Processing (NLP) can be applied in ecommerse industry?
\item Which neural network architecture is suitable for text based classification model?
\item What are the steps involved for preprocessing text to extract features from the document?
\item How to get better results with better shaped network? Evaluate neural network performance based on confusion matrix.
\end{enumerate}
\end{multicols}
\section{Evaluation and Results}
\begin{enumerate}
\item Preprocessing of the product and category data frame is performed, which involves step:-
\begin{enumerate}
\item Normalization of text: lowercase, perform Tf-Idf, ngram vectorization to extract text.
\item To change \"A to A, the Normal form D (NFD) should be applied which translated each character into its decomposed form.
\item Use Beautiful Soup a Pyhon library for pulling data out of HTLM and XML.
\end{enumerate}
\item The developed text based classification model successfully preditcs the product taxonomy based on the product features.
\item The time required to analyze the product details before it is ready deploy is reduced. As manual work of defining the product taxonomy is automated.
\item Better shaped neural network architecture is developed.
\end{enumerate}
\subsection{Table: Before and After normalization}
\begin{center}
\begin{tabular}{lll}
\toprule
&\textbf{Name} & \textbf{Category} \\
\midrule
\textbf{Before}&VAICO V10-4245 Stoßdämpfer & Stoßdämpfer \\
\textbf{After}&vaico stoßdampfer & stoßdampfer \\
\bottomrule
\end{tabular}
\end{center}
\end{multicols}
% \printbibliography
\end{document}

View file

@ -1,94 +0,0 @@
\documentclass{article}
\usepackage[svgnames]{xcolor}
\usepackage[a0paper,landscape,margin=3cm]{geometry}
\usepackage{anyfontsize}
\usepackage{tikz}
\usepackage{mathpazo}
\usepackage{multicol}
\usepackage{tikz}
\usepackage{graphicx}
\usetikzlibrary{matrix,fadings,arrows,trees,calc,positioning,decorations,automata,fit,backgrounds}
\usepackage{blindtext}
\usepackage[inkscapeformat=png]{svg}
\pagecolor{red!5}
\columnsep=50pt
\columnseprule=2pt
\renewcommand{\section}[1]{
\begin{center}
\begin{tikzpicture}
\draw node[fill=white!10, text width=0.9\linewidth, text centered, inner sep=30pt, rounded corners=5pt, draw=red!80]
{\textbf{#1}};
\end{tikzpicture}
\end{center}
}
\begin{document}
\fontsize{55}{65}
\selectfont
\begin{tikzpicture}
\node[inner sep=0pt] (logo) {\includesvg{SRH_Bildung.svg}};
\draw node[text width=0.88\linewidth,text centered,rounded corners=5pt,inner sep=30pt,right=100pt of logo] (title){
{Application of Natural Language Processing in an E-commerce industry}\\[0.5cm]
\fontsize{50}{55}
\selectfont
{Predicting multilevel product category} \\[1cm]
\fontsize{40}{50}
\selectfont
Shoney Arickathil, Prof. Dr. Gerd Moeckel \\[0.5cm]
\fontsize{50}{50}
\selectfont
Applied Computer Science, SRH Hochschule, Heidelberg
};
\begin{scope}[on background layer]
\node [fill=Red!10, fit={(logo) (title)}] {};
\end{scope}
\end{tikzpicture}
\vspace{1cm}
\begin{multicols}{2}
\fontsize{30}{40}
\selectfont
\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.
\blindtext
\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.
\blindtext
\end{multicols}
\begin{minipage}{.70\textwidth}
\centering
\fontsize{30}{40}
\selectfont
\section{Research Questions}
njnokliunoinoinoioinoin
\end{minipage}
\begin{minipage}{0.20\textwidth}
\centering
\fontsize{30}{40}
\selectfont
\section{Research Questions}
\end{minipage}
\begin{center}
\section{References}
\end{center}
\end{document}