<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>JudithJeyafreeda@Dravidian-CodeMix-FIRE2020: Sentiment Analysis of YouTube Comments for Dravidian Languages</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Judith Jeyafreeda Andrew</string-name>
          <email>judith-jeyafreeda.andrew@unicaen.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>GREYC, CNRS, Université de Caen</institution>
          ,
          <addr-line>Normandie</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Sentiment Analysis is a process of identifying the tone of a given sentiment/opinion. It focuses on the polarity of the sentiments - positive, negative or neutral. In this paper, the goal is to classify sentiments from a dataset of comments/posts into pre-defined classes belonging to two code-mixed Dravidian Languages (code mixed Malayalam-English and code mixed Tamil-English) collected from social media. A new gold standard corpus for sentiment analysis for code-mixed Dravidian languages (Malayalam-English and Tamil-English) is used in this paper. The classification is performed as a multi-class classification problem. For this purpose, several well known machine learning models have been used. Based on the accuracy of each model obtained from the development set, the best model is chosen for prediction.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Sentiment Analysis</kwd>
        <kwd>Multi-class classification</kwd>
        <kwd>Machine Learning</kwd>
        <kwd>Dravidian Languages</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] presents an improvement of word sense translation for under-resourced languages. It focuses on
cleaning the noisy corpus in the form of code-mixed content at word-level based on orthographic
information which results in improvement of Dravidian languages. It also proposes to alleviate the
problem of diferent scripts by transcribing the native script into a common representation such as
the Latin script or the International Phonetic Alphabet (IPA).
      </p>
      <p>
        [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] presents the two popular methods which decompose multi-class problems into many binary
class problems, the “one-against-all” and the “one-against-one” approaches. The "one-against-all"
approach is fairly simple. Suppose there are  classes, these  classes are partitioned into a two
class problem - one for a "true" class and the other for the "others" class. Thus there are  two way
classifiers, one for each class. In a "one-against-all" approach, a two way classifier is trained for all
possible pairs of classes leading to  ( -1)/2 two way classifiers for a problem with  classes.
      </p>
      <p>
        Random Forests are popular machine learning models for classification [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. A random forest is
an ensemble of tree structure classifiers where every tree gives a unit vote assigning the most probable
class label to the input [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] describes an improved random forest classification approach for
improving the classification accuracy for a multi-class classification problem. Improved-RFC approach
uses Random Forest algorithm, an attribute evaluator method and an instance filter method-Resample
for the problem of multi-class classification problem.
      </p>
      <p>
        A Naïve Bayes classifier is a simple probabilistic model that allows prediction of probablities of
class membership ([
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]). This classifier handles missing attribute values by omitting the corresponding
probabilities for those attributes when calculating the likelihood of membership for each class. It
also requires the class conditional independence. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] uses a hidden naïve Bayes (HNB) classifier
to a network intrusion detection system. The HNB is an extended version of the basic naïve Bayes
classifier which relaxes the conditional independence assumption. The HNB creates a new layer which
represents the hidden parent of each attribute. Thus the influences from all of the other attributes can
combined through conditional probabilities by estimating the attributes from the training dataset.
      </p>
      <p>
        [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] compares various machine learning algorithms - Naïve Bayes, Random Forest, Decision Tree,
Logistic Regression and support vector machines for the classification of text reviews. The findings
indicate that the Logistic Regression for multi-class classification for product reviews is the best method
in terms of accuracy. It should also be noted that the overall classification accuracy in combination
with uni/bi/tri-gram models increases the average of classification accuracy.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Data</title>
      <p>
        The dataset used here is from the Dravidian-CodeMix - FIRE 2020, which is a collection of YouTube
comments in two diferent languages - Tamil (data from [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]) and Malayalam (data from [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]). The
datasets of both the languages (Tamil and Malayalam) are in a way that the text is in Latin script. The
Tamil training dataset contains 11,335 instances, the validation/development dataset contains 1,260
instances and the test dataset contains 3,149 instances. The classes are "positive", "negative",
"unknown_state", "mixed_feeling" and "not_Tamil". The Malayalam training dataset contains 4,851
instances, the validation/development dataset contains 674 instances and the test dataset contains 1,348
instances. The classes are "positive", "negative", "unknown_state", "mixed_feeling" and "not_Malayalam".
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Text Representation</title>
      <p>To be able to train a supervised classifier, every comment in the dataset is represented by a numerical
feature vector. One common approach for extracting features from text is to use the bag of words
model. In this model, the frequency of the words is taken into consideration, but the order in which
they occur is ignored. The Term Frequency, Inverse Document Frequency (tf-idf) measure is
calculated for each term in the dataset (individually for Tamil and Malayalam).</p>
    </sec>
    <sec id="sec-5">
      <title>5. Machine Learning Models</title>
      <p>In this section, several machine learning methods designed for the task at hand are explained. The
models are Logistic Regression, Naïve Bayes, Support Vector Machines and Random Forests.</p>
      <sec id="sec-5-1">
        <title>5.1. Logistic Regression</title>
        <p>
          The well established multi-class logistic regression model is implemented for the task at hand [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ].
The model of logistic regression for a multi-class classification problem forces the output layer to
softmax function. Given the input vector(z), the softmax function works as follows:
have discrete probability distributions over the possible  classes. This is accomplished by using the
input to each output. The model thus is as follows:
At this point, there are  outputs and thus there is a necessity to impose weights connecting each
 
( ) =



∑ =1   
 ̂ =  
(
+  )
(1)
(2)
(3)
where, W is the weight matrix between the input and output, x being the input and b is the bias.
        </p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Random Forest</title>
        <p>Random Forest is a collection of large number of individual decision trees. Decision Trees for samples
from the training data sets are constructed. Following this, each decision tree predicts a class. A vote
is performed on all predicted results. The class with the maximum vote is decided on to be the output
class. For the training process, the random subspace method is used (i.e) if one or a few features are
very strong predictors for the target output, these features will be selected in many of the decision
trees. This makes the features more correlated.</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. Support Vector Machines</title>
        <p>SVMs are very good classification algorithm. The idea is to identify hyper-planes that will separate
the various features. A linear SVM is used in this paper. The classification decision is thus performed
as follows:
 ( ) = 
( ∗. +  ∗)
where x represents the input feature, W represents the model weight and b represents the bias. For
the multi-class classification problem, a one-vs-rest (also known as one-vs-all) approach is used. It
involves splitting the dataset into multiple binary classification problems. Thus a binary classification
boundary is constructed to train each binary SVMs and the one with the highest confidence is used
to solve the multi-class classification problem.</p>
        <p>SVM</p>
        <sec id="sec-5-3-1">
          <title>Logistic Regression</title>
        </sec>
        <sec id="sec-5-3-2">
          <title>Naïve Bayes</title>
        </sec>
        <sec id="sec-5-3-3">
          <title>Random Forest Classifier</title>
        </sec>
        <sec id="sec-5-3-4">
          <title>Parameters</title>
          <p>multi_class=ovr; max_iter=1000; penalty=l2; loss=squared_hinge
solver=liblinear; penalty=l2; tol=0.0001; max_iter=100
alpha=1.0; fit_prior=True; class_prior=None
n_estimators=200; max_depth=3; random_state=0</p>
        </sec>
      </sec>
      <sec id="sec-5-4">
        <title>5.4. Naïve Bayes</title>
        <p>
          Naïve Bayes [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] is based on the Bayes theorem. For a given training dataset, the joint probability
distribution (P(X,Y)) is learned. When using Naïve Bayes for classification for an input x, the posterior
probability is calculated by the classification model. The class with the highest posterior probability
is the predicted class.
        </p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Implementation</title>
      <p>The scikit-learn1 package in Python is used for the feature extraction and model training. The
Tfidf Vectorizer from the scikit-learn is used to convert the text data into TF-IDF feature vectors. The
models of logistic regression, linear support vector classification, multinomialNB and random Forest
provided by the scikit-learn toolkit are used for the training of the machine learning models discussed
in 5. The implementation details for these models are shown in table 1.</p>
      <p>Every model described in section 5 is trained using the training sets for both the Tamil and
Malayalam languages. The accuracy of each model for the two languages are calculated. The accuracy
of the model is calculated using the development set. The accuracy of each model for the diferent
languages are presented in table 2.</p>
      <p>As seen from table 2, all models are quite closer to each other in terms of accuracy. However, the
highest accurate model to use for the classification of YouTube comments in the Tamil language is the
Naïve Bayes classifier. Thus this classifier is used for the classification of the test data set. As for the
Malayalam language, table 2, the Logistic Regression is the most accurate model which is thus used
for the classification of YouTube comments in the Malayalam language.</p>
      <sec id="sec-6-1">
        <title>Tamil</title>
      </sec>
      <sec id="sec-6-2">
        <title>Malayalam</title>
      </sec>
      <sec id="sec-6-3">
        <title>Precision</title>
      </sec>
      <sec id="sec-6-4">
        <title>Recall F-score Algorithm 0.57 0.68</title>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>7. Results and Conclusion</title>
      <p>The weighted averages for the precision, recall and F-score for the task at hand is shown in table 3. A
precision of 0.57, a recall of 0.66 and a F-score of 0.54 is achieved by the method presented in this paper
for the Tamil language. A precision of 0.68, a recall of 0.62 and a F-score of 0.58 is achieved by the
method presented in this paper for the Malayalam language. The model for the Malayalam language
achieves a better performance than the model for the Tamil language. However, it has to be noted that
the same model has not been chosen for both the languages and thus comparing the results between
languages is not fair. It is seen from table 2 that the accuracy of the Naïve Bayes, which has been
chosen as the model for the Tamil language, has a very low accuracy for the Malayalam language.
On the other hand, the Linear Regression, which has been chosen as the model for the Malayalam
language, has a low accuracy for the Tamil language. This reassures the fact that the same model does
not suit very well for all the languages.</p>
      <p>The higher accuracy of the various models for the Tamil language could be because of the fact
that the training and development data for the Tamil language is larger than that for the Malayalam
language. This could mean that the models are very well trained for the Tamil language when
compared to the Malayalam language. The number of instances for each case from the training set for
both languages are shown in table 4. It can also be noted from table 4 that the dataset for Tamil is
quite imbalanced with too many instances for the "Positive" category but not too many instances for
the other categories. For the Malayalam training dataset, the number of instances for the "Positive"
and "unknown_state" category are greater than the number of instances for the other categories. The
imbalance in the dataset for the various categories makes it harder for predicting the minor classes
(categories with fewer instances).</p>
      <p>Thus in this paper, multiple models are investigated for the languages - Tamil and Malayalam. It
is noticed that two diferent models are chosen for the two languages. The models presented in this
paper are language independent. All of these models can be applied to any language as the model
with the best accuracy is chosen as final model for the classification of the sentences. Link to code 2.</p>
      <p>2https://github.com/JudithJeyafreeda/FIRE2020.git</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Chakravarthi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Priyadharshini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Muralidaran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Suryawanshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Jose</surname>
          </string-name>
          , E. Sherly,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>McCrae</surname>
          </string-name>
          ,
          <article-title>Overview of the track on Sentiment Analysis for Dravidian Languages in Code-Mixed Text</article-title>
          ,
          <source>in: Proceedings of the 12th Forum for Information Retrieval Evaluation</source>
          ,
          <source>FIRE '20</source>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Chakravarthi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Priyadharshini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Muralidaran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Suryawanshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Jose</surname>
          </string-name>
          , E. Sherly,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>McCrae</surname>
          </string-name>
          ,
          <article-title>Overview of the track on Sentiment Analysis for Dravidian Languages in Code-Mixed Text, in: Working Notes of the Forum for Information Retrieval Evaluation (FIRE 2020)</article-title>
          . CEUR Workshop Proceedings. In: CEUR-WS. org, Hyderabad, India,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Chakravarthi</surname>
          </string-name>
          ,
          <article-title>Leveraging orthographic information to improve machine translation of under-resourced languages</article-title>
          ,
          <source>Ph.D. thesis, NUI Galway</source>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M. P.</given-names>
            <surname>Brown</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. N.</given-names>
            <surname>Grundy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Cristianini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. W.</given-names>
            <surname>Sugnet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. S.</given-names>
            <surname>Furey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ares</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Haussler</surname>
          </string-name>
          ,
          <article-title>Knowledge-based analysis of microarray gene expression data by using support vector machines</article-title>
          ,
          <source>Proceedings of the National Academy of Sciences</source>
          <volume>97</volume>
          (
          <year>2000</year>
          )
          <fpage>262</fpage>
          -
          <lpage>267</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Cutler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. C.</given-names>
            <surname>Edwards Jr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. H.</given-names>
            <surname>Beard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cutler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. T.</given-names>
            <surname>Hess</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gibson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Lawler</surname>
          </string-name>
          ,
          <article-title>Random forests for classification in ecology</article-title>
          ,
          <source>Ecology</source>
          <volume>88</volume>
          (
          <year>2007</year>
          )
          <fpage>2783</fpage>
          -
          <lpage>2792</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Ghimire</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Rogan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <article-title>Contextual land-cover classification: incorporating spatial dependence in land-cover classification models using random forests and the getis statistic</article-title>
          ,
          <source>Remote Sensing Letters</source>
          <volume>1</volume>
          (
          <year>2010</year>
          )
          <fpage>45</fpage>
          -
          <lpage>54</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>L.</given-names>
            <surname>Breiman</surname>
          </string-name>
          , Random forests,
          <source>Machine learning 45</source>
          (
          <year>2001</year>
          )
          <fpage>5</fpage>
          -
          <lpage>32</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Chaudhary</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kolhe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kamal</surname>
          </string-name>
          ,
          <article-title>An improved random forest classifier for multi-class classification</article-title>
          ,
          <source>Information Processing in Agriculture 3</source>
          (
          <year>2016</year>
          )
          <fpage>215</fpage>
          -
          <lpage>222</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Qu</surname>
          </string-name>
          ,
          <article-title>Feature selection for text classification with naïve bayes</article-title>
          ,
          <source>Expert Systems with Applications</source>
          <volume>36</volume>
          (
          <year>2009</year>
          )
          <fpage>5432</fpage>
          -
          <lpage>5435</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>L.</given-names>
            <surname>Koc</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. A.</given-names>
            <surname>Mazzuchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Sarkani</surname>
          </string-name>
          ,
          <article-title>A network intrusion detection system based on a hidden naïve bayes multiclass classifier</article-title>
          ,
          <source>Expert Systems with Applications</source>
          <volume>39</volume>
          (
          <year>2012</year>
          )
          <fpage>13492</fpage>
          -
          <lpage>13500</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>T.</given-names>
            <surname>Pranckevičius</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Marcinkevičius</surname>
          </string-name>
          ,
          <article-title>Comparison of naive bayes, random forest, decision tree, support vector machines, and logistic regression classifiers for text reviews classification</article-title>
          ,
          <source>Baltic Journal of Modern Computing</source>
          <volume>5</volume>
          (
          <year>2017</year>
          )
          <fpage>221</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Chakravarthi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Muralidaran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Priyadharshini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>McCrae</surname>
          </string-name>
          ,
          <article-title>Corpus creation for sentiment analysis in code-mixed Tamil-English text</article-title>
          ,
          <source>in: Proceedings of the 1st Joint Workshop on Spoken Language Technologies</source>
          for
          <article-title>Under-resourced languages (SLTU) and Collaboration and Computing for Under-Resourced Languages (CCURL), European Language Resources association</article-title>
          , Marseille, France,
          <year>2020</year>
          , pp.
          <fpage>202</fpage>
          -
          <lpage>210</lpage>
          . URL: https://www.aclweb.org/anthology/2020.sltu-
          <volume>1</volume>
          .
          <fpage>28</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>B. R.</given-names>
            <surname>Chakravarthi</surname>
          </string-name>
          , N. Jose,
          <string-name>
            <given-names>S.</given-names>
            <surname>Suryawanshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Sherly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. P.</given-names>
            <surname>McCrae</surname>
          </string-name>
          ,
          <article-title>A sentiment analysis dataset for code-mixed Malayalam-English, in: Proceedings of the 1st Joint Workshop on Spoken Language Technologies for Under-resourced languages (SLTU) and Collaboration and Computing for Under-Resourced Languages (CCURL), European Language Resources association</article-title>
          , Marseille, France,
          <year>2020</year>
          , pp.
          <fpage>177</fpage>
          -
          <lpage>184</lpage>
          . URL: https://www.aclweb.org/anthology/2020.sltu-
          <volume>1</volume>
          .
          <fpage>25</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <article-title>Multiclass logistic regression from scratch</article-title>
          ,
          <year>2017</year>
          . URL: https://gluon.mxnet.io/chapter02_
          <article-title>supervised-learning/softmax-regression-scratch</article-title>
          .html.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>A. Y.</given-names>
            <surname>Ng</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. I. Jordan</surname>
          </string-name>
          ,
          <article-title>On discriminative vs. generative classifiers: A comparison of logistic regression and naive bayes</article-title>
          ,
          <source>in: Advances in neural information processing systems</source>
          ,
          <year>2002</year>
          , pp.
          <fpage>841</fpage>
          -
          <lpage>848</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>