diff --git a/README.md b/README.md index 8e4b242..6bb902c 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/doc/page.tex b/doc/page.tex index 75d538b..2aae3ac 100644 --- a/doc/page.tex +++ b/doc/page.tex @@ -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}