Ai Application
Ai Application
used in AI ?
Sub-fields in AI
In this article will explain how objects and its properties are using in
AI’s sub-fields ML, NLP, DL,etc., algorithms.
Going through each sub-field explain bit to the concerned topic and
how applying it. The following diagram explain the areas where we
apply Linear Algebra in AI.
LA Objects applying in these areas of AI
not the sub areas of AI, these are using in ML,DL & NLP areas.
In the above diagram other sub-areas like Problem solving,
Knowledge representation and knowledge reasoning LA objects are
used but not as much in Learning(ML/DL) and NLP.
If the data is not in particular order, i.e., columns are not same for
each example/row. In such cases we describe as set containing ‘m’
elements of which has different vector size.
These 3 form access Matrix and produces the desired. The 3rd form
PCA is used for dimensionality reduction and it is totally works in
pure linear algebra, following algorithm describes it.
Linear Curves:
Linear Curve
If you are using neural networks for ML algorithms you can apply all
of the above 4 regularization techniques.
Generalized Regularization
Let us see how we are applying using vectors and matrices in Feed
forward Networks.
Generalized Approach
3. The above steps repeated and results getting feed to next layer in
the forward way.
W2V used in many of the tasks in NLP and it is the base of capturing
word in to vector. Natural Language Text = Sequence of discrete
symbols
Let us say our text data set contains the following lines
Words as Vectors
Rows are word vectors, so we can retrieve them with one hot vectors
Embedding Matrix with row as Target word and its context words
SKIP-GRAM
CBOW
GLOVE: Like word2vec, Glove is a set of vectors that capture the
semantic information (i.e., meaning about words. It consists of a
weighted least squares model that trains on global word-word co-
occurrence counts.
Co-occurrence Matrix
Like the case in word2vec, each word has 2 vectors, input(v) and
output(u)
Thanks for reading this article, please drop a note if there are any
mistake(s) and appreciated your feedback.
References :
3. https://en.wikipedia.org/wiki/Regression_analysis
4. http://web.stanford.edu/class/cs224n/
6. https://nlp.stanford.edu/projects/glove/