This commit is contained in:
shoney 2023-07-01 19:59:45 +00:00
parent a527fd926a
commit ea91e03756
2 changed files with 10 additions and 2 deletions

View file

@ -29,4 +29,8 @@ https://www.kaggle.com/datasets/lakritidis/product-classification-and-categoriza
https://medium.com/analytics-vidhya/classification-using-long-short-term-memory-glove-global-vectors-for-word-representation-254d02d5e158
https://www.kaggle.com/code/leekahwin/text-classification-using-n-gram-0-8-f1
https://www.kaggle.com/code/leekahwin/text-classification-using-n-gram-0-8-f1
https://pytorch.org/tutorials/beginner/former_torchies/nnft_tutorial.html
https://github.com/pytorch/examples/blob/main/word_language_model/main.py

View file

@ -159,7 +159,11 @@
\columnbreak
\begin{enumerate}
\item Input - ngram vocabulary size of product feature
\item Input layer - These nodes pass on information to hidden nodes. The collection of product names after normalization and creating a vocabulary of it using n-gram vectorization provides provides \textit{n} number of unique words. Here, \textit{n} is the number of input layer size.
\item Hidden layers - Transfers information from input node to the output node.
\item Output layer - This layer performs computation and transfers information to the network to out of the function. In our experiment the total number of categories the model should predict is the size of the output layer.
\item Softmax function - Takes input of \textit{K} real numbers, and normalizes it into a probability distribution consisting of \textit{K} probabilities.
\item Combine function : Add the input layer and hidden layer tensors and pass on to the softmax function.
\end{enumerate}
\end{multicols}