<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="586"/><title>Negation Naive Bayes for Categorization of Product Pages on the Web</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 586-591, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Komiya" givenname="Kanako"><org  name="University of Bari" country="Italy" city="Bari"/></author><author surname="Sato" givenname="Naoto"><org  name="University of Bari" country="Italy" city="Bari"/></author><author surname="Fujimoto" givenname="Koji"><org  name="University of Bari" country="Italy" city="Bari"/></author><author surname="Kotani" givenname="Yoshiyuki"><org  name="Tokyo University of Agriculture and Technology" country="Japan" city="Tokyo"/></author></firstpageheader><frontmatter><p><b>Negation Naive Bayes for Categorization of Product Pages on the Web</b></p><p><b>Kanako Komiya </b><footnote anchor="1"/> <b>Naoto Sato </b><footnote anchor="1"/> <b>Koji Fujimoto </b><footnote anchor="12"/> <b>Yoshiyuki Kotani</b><footnote anchor="1"/></p><p>Tokyo University of Agriculture and Technology <footnote anchor="1"/>Tensor Consulting Co.Ltd. <footnote anchor="2"/></p><p>{kkomiya, kotani}@cc.tuat.ac.jp 5000964 6113@st.tuat.ac.jp koji.fujimoto@tensor.co.jp</p></frontmatter><abstract>We propose the negation naive Bayes (NNB): a new method to categorize prod­uct pages on the Web depending on their information. It is a modified version of the naive Bayes (NB) and we got the idea from the complement naive Bayes (CNB). We compared the NNB with the NB and the CNB. Our experiments show that the NNB outperformed the other methods sig­nificantly when the product pages were distributed non-uniformly through cate­gories. </abstract></header><body><section number="1" title="Introduction"><p>In late years, e-commerce, the services by which users can easily purchase products on the Web without visiting a store, is introduced in many companies. When products are purchased via In­ternet, the user narrows down the candidate cat­egories of each product in incremental steps. We categorized the products on the Web automatically depending on their information using the method of text classification (Sato et al., 2011).</p><p>Many researchers have investigated text classifi­cation and the naive Bayes (NB) is one of the most famous methods for it. However when we use the NB classifier to categorize the products, the accu­racies were not very high, especially when the data distribution is very skewed.</p><p>Hence this paper proposes the negation naive Bayes (NNB): a new method of text classifica­tion especially for the product pages on the Web depending on their information. It is a modified version of the NB and we got the idea from the complement naive Bayes (CNB). Our experiments showed that the NNB outperformed the NB and the CNB when the product pages were distributed non-uniformly.</p><p>This paper is organized as follows. Section 2 re­views related works on text classifications and the</p><p>NB classifiers. Section 3 describes the classifica­tion methods including our proposal method: the NNB. Section 4 describes the system to categorize the product pages and explains the experimental setting. We describe results in Section 5 and dis­cuss them in Section 6. Finally, we conclude the paper in Section 7.</p></section><section number="2" title="Related Work"><p>Many works on text classification have been ac­complished so far. Approaches of Bayes are often used within the area of text classification (Mochi-hashi, 2006). Izutsu et al. (2005) categorized the html documents and compared the NB classi­fier with discriminant analysis and the rule-based method. They suggested the simple implemen­tation and the high scalability of the NB classi­fier. McCallum and Nigam (1998) suggested the difference between multinomial model and multi-variate Bernoulli model of the NB classifier in text classification. Lewis (1992) compared the differ­ence of the effect between the types of features used for text classification: words, phrases, clus­tered words, clustered phrases and indexing terms. W.Church (2000) used a concept called "Adapta­tion" as the weighting method to the words in sub­stitution for IDF value, and defined the words re­lated to contents but not included a document as "Neighbor". The feature terms were extracted de­pending on them.</p><p>In addition, the method called "Complement Naive Bayes" attracts attention. It estimates pa­rameters of a category using data from all cat­egories except the category which is focused on (J.D.M.Rennie et al., 2003).</p><p>On the other hand, there have been the works that used the product information of Internet auc­tions (Nishimura et al., 2008).These works suggest a method to extract the attribute information from the description of the product pages.</p><p>This paper proposes the NNB. Its equation is derivable from the equation of the NB unlike the CNB but it has the same advantages; it tackles the ununiformity of the texts of each category.<page local="2" global="587"/> We got the classification accuracies that exceed the NB and the CNB significantly when the data distribu­tion is non-uniformly.</p></section><section number="3" title="Classification Method"><p>In this section, we describe the classification meth­ods to categorize the product pages on the Web in­cluding our proposal method: the NNB. The dis­tribution of the product pages of each category is very skewed in Internet auctions. Therefore, the classification model which tackles the ununifor-mity of the data distribution is necessary.</p><subsection number="3.1" title="Naive Bayes Classifier"><p>We used the NB classifier to classify the product pages as a baseline. Let <i>d = w1,w2,... ,wn </i>de­note the text containing the words and let <i>c </i>denote a category. Here, let c denote the category that <i>d </i>belongs to, and c is as follows:</p><doubt alpha="58.8" length="17" tooSmall="False" monospace="0.0">c = argmaxP (c\d)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>where <i>P(c) </i>and <i>P(d) </i>each represent the prior probability of <i>c </i>and <i>d.</i></p><p>By substituting theorem of conditional proba­bility into the equation, we obtain the following:</p><doubt alpha="46.4" length="28" tooSmall="False" monospace="0.0">c = argmaxP(c\w1,w2,..., wn)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">c</doubt><doubt alpha="41.2" length="34" tooSmall="False" monospace="0.0">= argmaxP (w1,w2,...,wn\c)P (c)(2)</doubt><p>We assume that <i>w</i><i>i </i>is conditionally inde­pendent of every other word. This means that under the above independence assumptions, <i>P(w1,w2,... ,wn\c) </i>is approximated by the fol­lowing:</p><doubt alpha="33.3" length="18" tooSmall="False" monospace="0.0">P(w1,w2,... ,wn\c)</doubt><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">~np(wi\c)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><p>Finally, the category <i>c</i>c that <i>d </i>belongs to is deter­mined by following:</p><doubt alpha="66.7" length="18" tooSmall="False" monospace="0.0">argmaxP(c) P(wi\c)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><p>When there is the pair of <i>w</i><i>i </i>and <i>c </i>where <i>P(wi\c) = </i>0, the left-hand value of eq. (4) equals 0. Therefore, let <i>N </i>denote the total number of training data, and substitute following eq. (5) for eq. (4) in order to avoid this case.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">0.1</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">P (wi\c)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">N</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(5)</doubt></subsection><subsection number="3.2" title="Complement Naive Bayes Classifier"><p>The NB classifier tends to classify documents into the category that contains large number of docu­ments. The CNB classifier is a modification of the NB classifier. This classifier improves classifica­tion accuracy by using data from all categories ex­cept the category which is focused on. This clas­sifier is also used as a baseline.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">3</doubt><doubt alpha="90.9" length="11" tooSmall="True" monospace="0.0">Naive Bayes</doubt><doubt alpha="90.9" length="22" tooSmall="True" monospace="0.0">Complement Naive Bayes</doubt><figure caption="Figure 1: The difference of training data between two methods"></figure><p>Figure 1 shows the difference of the training data between the NB classifier and the CNB clas­sifier. The NB classifier estimates parameters of a category using the data from the category which is focused on. When there are four categories that each contain 10, 10, 20, 40 training data, and the category with the most data has four times data as many as the category with the least data.</p><p>On the other hand, the CNB classifier estimates parameters of a category using the data from all categories except the category which is focused on. Therefore, the category with the least data is 40 and the category with the most data is 70. The gap of the number of the training data is less than the NB classifier.</p><p>The CNB classifier estimates the likelihood from probability of occurrence of words and de­cides the category which the product pages are classified into. The CNB estimates <i>P(wi\c) </i>using data from all categories except <i>c (c </i>denote those categories):</p><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">P(wi\c)=</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><footnote label="1">P (wi\c)</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>When there is the pair of <i>w</i><i>i </i>and <i>c</i>c where <i>P(w</i><i>i</i><i>\c</i>c) = 0, we used the same the smoothing method as eq. (5).</p><p>argmax <i>P(c)</i><page local="3" global="588"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>40</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>10</p></td><td class="cell"><p>10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>70</p></td><td class="cell"><p>70</p></td><td class="cell"><p>60</p></td><td class="cell"><p>40</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">c</doubt></subsection><subsection number="3.3" title="Negation Naive Bayes Classifier"><p>The CNB is a method that tackles the ununifor-mity of the data distribution. However we think eq. (7) is not derivable from eq. (1). J.D.M.Rennie et al. (2003) also ignored <i>P( </i>) assuming it is enough small comparing with <i>P(w</i><i>i\</i><i> </i>) but we think <i>P( </i>) cannot be always ignored and should be calculated especially when the data distributio-nis very skewed.</p><p>Therefore, we propose the NNB, which is deriv­able from eq. (1) but also have the advantage like the CNB. The derivation of the equation of the NBB is as follows.</p><p>First, equ. (8) is obtained from equ. (1) be­cause we would like to find c: the category which maximaizes the posterior probability <i>P( \ </i><i>d)</i><i> </i>here again. Here, we focus on : the categories which <i>d </i>is not supposed to belong to, like the CNB.</p><doubt alpha="45.5" length="22" tooSmall="False" monospace="0.0">c = argmax(1— P (c\d))</doubt><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">=argminP (c\d)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(8)</doubt><p>Next, equ. (9) follows from equ. (8) and Bayes' theorem as follows:</p><doubt alpha="33.3" length="9" tooSmall="False" monospace="0.0">P( )P(d )</doubt><p><b>argcmin </b><i>P(d)</i></p><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">argmin()P(d)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><p>Finally, by substituting theorem of conditional probability like and assuming independence ofev-ery other word like , the category c that <i>d </i>belongs to is determined by following:</p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">arg</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">min( )P(</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">wi)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(10)</doubt><p>This is an equation of the NNB that we propose. We used the same smoothing method as the CNB.</p></subsection></section><section number="4" title="Classification Experiments"><p>In this section, we describe the system to catego­rize the product pages and explain the setting of the classification experiments.</p><subsection number="4.1" title="Data Set for Experiments"><p>We used the product pages assigned to subordi­nate category of "Windows desktop PC", "baby products", and "memorial stamps" on Yahoo! auc-tions<footnote anchor="1"/> as the training and test data. These cate­gories can be narrowed down as follows from top category of Yahoo! auctions. <footnote anchor="1"/> http://auctions.yahoo.co.jp/</p><p>• All products &gt; Computers &gt; Personal com­puters &gt; Windows &gt; desktop PC</p><p>• All products &gt; Baby products</p><p>• All products &gt; Antiques or Collections &gt; Stamps or cards &gt; Japanese &gt; Memorial stamps</p><p>The left-hand of the mark "&gt;" is the parent cat­egory and right-hand is the child category.</p><p>We regard the categories assigned by the sell­ers as the correct labels. In addition, each product belongs to only one category in Yahoo! auctions. Categories are hierarchical and each product is as­signed to terminal categories.</p><p>We used only one product page by one seller for each category to get rid of bias of notation habits of each seller like (Nishimura et al., 2008). The number of the categories and the product pages before and after removing the product pages of the same sellers is shown in Table 1. In addition, the number of the product pages of Windows desk­top PC, baby products, and memorial stamps that we used for classification is each shown in Fig­ure 2, Figure 3, and Figure 4. The categories are sorted by the number of the product pages in these figures. They show the numbers of the product pages are distributed non-uniformly through the categories.</p><doubt alpha="0.0" length="2" tooSmall="True" monospace="0.0">21</doubt><p>Table 1: The number of the categories and the product pages before and after removing the prod­uct pages of the same sellers</p><doubt alpha="8.8" length="34" tooSmall="False" monospace="0.0">700 600 m 500J400 £ 300 "E 200 100</doubt><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">.n.n.n.n.n.n.n.n.n</doubt><doubt alpha="100.0" length="8" tooSmall="True" monospace="0.0">category</doubt><figure caption="Figure 2: The number of the product pages of Windows desktop PC for each category"></figure><p>The product pages are described in HTML but we removed the HTML tags assuming that they were unnecessary for classification.</p><doubt alpha="50.0" length="2" tooSmall="True" monospace="0.0">i3</doubt><doubt alpha="0.0" length="2" tooSmall="True" monospace="0.0">19</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Genre</p></td><td class="cell"><p>Before</p></td><td class="cell"><p>After</p></td><td class="cell"><p>categories</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PC</p></td><td class="cell"><p>19,849</p></td><td class="cell"><p>4,403</p></td><td class="cell"><p>21</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baby product</p></td><td class="cell"><p>29,477</p></td><td class="cell"><p>10,389</p></td><td class="cell"><p>62</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Stamp</p></td><td class="cell"><p>16,543</p></td><td class="cell"><p>3,980</p></td><td class="cell"><p>53</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="589"/><doubt alpha="0.0" length="4" tooSmall="True" monospace="0.0">1200</doubt><doubt alpha="16.7" length="6" tooSmall="True" monospace="0.0">J 1000</doubt><doubt alpha="20.0" length="5" tooSmall="True" monospace="0.0">J 800</doubt><doubt alpha="16.7" length="6" tooSmall="True" monospace="0.0">[r 600</doubt><doubt alpha="0.0" length="5" tooSmall="True" monospace="0.0">- 400</doubt><doubt alpha="20.0" length="5" tooSmall="True" monospace="0.0">Î 200</doubt><doubt alpha="0.0" length="14" tooSmall="True" monospace="0.0">■■■■■■■■■■■■■■</doubt><doubt alpha="7.7" length="104" tooSmall="True" monospace="0.0">1   3   5   7   9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 category</doubt><figure caption="Figure 3: The number of the product pages of baby products for each category"></figure><doubt alpha="5.0" length="20" tooSmall="True" monospace="0.0">800v&gt;700 £ 600 § 500</doubt><doubt alpha="0.0" length="18" tooSmall="True" monospace="0.0">° 300 -| 200 = 100</doubt><doubt alpha="0.0" length="1" tooSmall="True" monospace="0.0">0</doubt><doubt alpha="8.3" length="96" tooSmall="True" monospace="0.0">1    3   5   7   9   11  13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 category</doubt><figure caption="Figure 4: The number of the product pages of memorial stamps for each category"></figure></subsection><subsection number="4.2" title="Features for Classification"><p>The product pages of Yahoo! auctions contain many technical terms and many words which have a very small effect about the classification (e.g. symbols, shipping address, and so on). They also contain itemization and their sentences are short and colloquial. From these properties, we thought that it is not important for classification to see the whole product pages, but to extract words which represent the category of the product. We per­formed the classification experiments depending on the following four kinds of information.</p><p>• All the words in the titles</p><p>• The nouns extracted from the titles</p><p>• All the words in the titles and the descriptions</p><p>• The nouns extracted from the titles and the descriptions</p></subsection><subsection number="4.3" title="Procedure of Classification"><p>The procedure of the classification is following.</p><p>1. Obtain product pages with the category label which they are classified into.</p><p>2. Extract the titles and the description if neces­sary.</p><p>3. Perform morphological analysis on each product pages using Chasen <footnote anchor="2"/>.</p><p>4. Extract the features for classification.</p><p>5. Classify the product pages using the methods shown in Section 3.</p><p>We used the default settings of Chasen. We used the 5-fold cross validation for the test. The chi-square test was performed to see if the difference is significant or not and its level of significance</p><doubt alpha="55.6" length="18" tooSmall="False" monospace="0.0">was 0.05.5 Results</doubt><p>In this section, we describe the results of the clas­sification experiments. First, we compare the ac­curacies of classifiers in four settings according to the features to categorize the product pages that we discribed in 4.2 about Windows desktop PC. Table 2 shows the classification accuracy of the</p><p>NB, the CNB, and the NNB. The "-" mark in "De­scriptions" column means the descriptions of the product pages were not used for classification and the "+" mark means the classification was per­formed depending of the words from both the title and the description of the product pages. In ad­dition, "Nouns" in "POS" column means only the nouns were used for the features of classification and "all" means all the words were used. Table 2 shows that whatever classifier was used, the accu­racies when the titles were used were higher than when the titles and the descriptions were used. The difference was statically significant. Table 2 also shows that product pages can be classified lit­tle more correctly depending on only the nouns than all the words, but the difference was not sig­nificant.</p><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">the</doubt><footnote label="2">http://sourceforge.net/projects/masayu-a/</footnote><p>Next, we compare the NNB classifier with the NB classifier and the CNB classifier using the data of the following three genres: Windows desktop PC, baby products, and memorial stamps. In view of Table 2, we performed the classification exper­iments depending on two kinds of features, all the words of the titles and the nouns extracted from them.</p><table caption="Table 2: The classification accuracy using product pages of Windows desktop PC" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Descriptions</p></td><td class="cell"><p>POS</p></td><td class="cell"><p>NB</p></td><td class="cell"><p>CNB</p></td><td class="cell"><p>NNB</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>-</p></td><td class="cell"><p>all</p></td><td class="cell"><p><b>0.613</b></p></td><td class="cell"><p><b>0.698</b></p></td><td class="cell"><p><b>0.711</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>-</p></td><td class="cell"><p>nouns</p></td><td class="cell"><p><b>0.629</b></p></td><td class="cell"><p><b>0.701</b></p></td><td class="cell"><p><b>0.713</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+</p></td><td class="cell"><p>all</p></td><td class="cell"><p>0.456</p></td><td class="cell"><p>0.623</p></td><td class="cell"><p>0.623</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>+</p></td><td class="cell"><p>nouns</p></td><td class="cell"><p>0.481</p></td><td class="cell"><p>0.641</p></td><td class="cell"><p>0.642</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="5" global="590"/><p>Table 3 summarizes classification accuracy of the NB, the CNB, and the NNB using the data of these three grnres. The MFC is an abbrevia­tion for the most frequent category. The "Total" in "Genre" column means the total average of three genres.</p><p>Table 3 shows that whatever features were used, and the data of whatever genre were used, the ac­curacies of the NBB classiier were higher than other classiiers. The second best classiier varies depending on the genre of product pages. The dif­ference between the CNB and the NNB of Win­dows desktop PC, the NB and the CNB of memo­rial stamps, and the NB and the CNB of the total product pages were not significant. All the other differences were statically signiicant. Table 3 also shows that sometimes the product pages were clas-siied little more correctly depending on only the nouns than all the words and sometimes not. In addition, all these differences were not signiicant. Table 2 also shows the accuracies of the three clas-siiers of the product pages about Windows desk­top PC, when the titles and the descriptions were used. The tendency of the results is almost the same as when the titles were used for classiica-tion.</p><p>Finally, we compare the three methods to clas­sify by three-class classiication using the data of the three genres. Here, we classify all the product pages of three genres into three classes: Windows desktop PC, baby products and memorial stamps. Table 4 shows the accuracy of this experiment.</p><p>It shows the NB classiier outperformed the other classiiers signiicantly when all the words in the title were used for the features of classii-cation, and the NB and the CNB slightly outper­formed the NNB when only the nouns on the title were used. When the nouns were used for the fea­tures, the difference among the NB, the CNB, and the NNB were not signiicant. In addition, when the features were compared, the classiier the ac­curacy when all the nouns were used was higher than when the nouns were used. The difference between the nouns and all the words was signii-cant when the NB classiier was used. All the other differences were not statically signiicant.</p><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">POS       NB     CNB NNB</doubt><doubt alpha="15.8" length="19" tooSmall="False" monospace="0.0">all0.9820.978 0.978</doubt><doubt alpha="28.9" length="38" tooSmall="False" monospace="0.0">nouns0.977 | 0.977 |0.976the MFC 0.553</doubt><table caption="Table 4: The classiication accuracy of three class classiication"></table></subsection></section><section number="6" title="Discussion"><p>Table 2 shows that the product pages can be clas-siied more correctly depending on only the titles of the product pages than both the titles and the descriptions of them. It means that the titles of the product pages were better features for classii-cation than the titles and descriptions of them, at least for the product pages about Windows desk­top PC. We think that this is because there are lots of words which are unnecessary for classiication in the description of the product pages and they obstruct effective classiication.</p><p>Next, Table 3 shows that whatever features were used, and the data of whatever genre were used, the accuracies of the NNB classiier were higher than the other classiiers. The second best clas-siier varies depending on the genre of product pages; the CNB was for the texts of Windows desktop PC or memorial stamps and the NB for the texts of baby products. Therefore when the NB classiier and the CNB classiier were com­pared, it is still unansuwered question that whichis the better method to classify these product pages. However, the experiments show that our proposal method, the NNB is always the best method for the classiication of the product pages of the three genres. When the total averages were compared, the NNB classiier also outperformed the other NB classiiers signiicantly.</p><p>In the experiments of Table 3, the products that belong to the categories with a few product pages tended to be classifed into the categories with many product pages when the CNB was used.<page local="6" global="591"/> We think we can see the reason form the equation of the CNB. Here, equ.(10), the equation of the NNB, can be rewritten as the following equ. (11) c = argmax--'      1 [    ,1. .</p><table caption="Table 3: The classification accuracy using the product pages of the three grnres" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Genre</p></td><td class="cell"><p>POS</p></td><td class="cell"><p>NB</p></td><td class="cell"><p>CNB</p></td><td class="cell"><p>NNB</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PC</p></td><td class="cell"><p>all</p></td><td class="cell"><p>0.613</p></td><td class="cell"><p>0.698</p></td><td class="cell"><p><b>0.711</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PC</p></td><td class="cell"><p>nouns</p></td><td class="cell"><p>0.629</p></td><td class="cell"><p>0.701</p></td><td class="cell"><p><b>0.713</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>PC</p></td><td class="cell"><p>the MFC</p></td><td class="cell"><p>0.158</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baby product</p></td><td class="cell"><p>all</p></td><td class="cell"><p>0.479</p></td><td class="cell"><p>0.445</p></td><td class="cell"><p><b>0.508</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baby product</p></td><td class="cell"><p>nouns</p></td><td class="cell"><p>0.484</p></td><td class="cell"><p>0.436</p></td><td class="cell"><p><b>0.507</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baby product</p></td><td class="cell"><p>the MFC</p></td><td class="cell"><p>0.105</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Stamp</p></td><td class="cell"><p>all</p></td><td class="cell"><p>0.451</p></td><td class="cell"><p>0.452</p></td><td class="cell"><p><b>0.489</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Stamp</p></td><td class="cell"><p>nouns</p></td><td class="cell"><p>0.436</p></td><td class="cell"><p>0.447</p></td><td class="cell"><p><b>0.490</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Stamp</p></td><td class="cell"><p>the MFC</p></td><td class="cell"><p>0.177</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total</p></td><td class="cell"><p>all</p></td><td class="cell"><p>0.505</p></td><td class="cell"><p>0.506</p></td><td class="cell"><p><b>0.552</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total</p></td><td class="cell"><p>nouns</p></td><td class="cell"><p>0.508</p></td><td class="cell"><p>0.501</p></td><td class="cell"><p><b>0.552</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total</p></td><td class="cell"><p>the MFC</p></td><td class="cell"><p>0.133</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">c1- P(c)Lf P(Wi\c)</doubt><p>From the equation of the CNB equ. (7) and equ. (11) , we can see that the difference of the equa­tions between the NNB and the CNB is the usage ofthe priorprobability <i>P(c). </i>We thinkthatthe us­age ofthe priorprobability <i>P(c) </i>inthe equation of the CNB caused this problem.</p><p>In addition, Table 4 shows that the NB classiier outperformed the NNB classiier. It means that the NNB is not always the best method to classify the product pages of any genres. We think this is be­cause the uniformity of the data. In this three-class classiication, the product pages of each category are 4403, 10389, and 3980 and the distribution is not so non-uniform. The NNB tackles the un-uniformity of the text but the advantage does not help in this situation. We think that that is why our proposal method could not classify more cor­rectly than the other classiiers in the three-class classiication. The measure of the uniformity of the distribution of texts such as deviation can be considered in the future in order to decide the best classiication method for each category.</p><p>Finally, the differences between the nouns and all the words are almost always not signiicant. Only one exception is the difference of the three-class classiication when the NB was used. We think this condition is not important comparing with the other conditions.</p></section><section number="7" title="Conclusion"><p>In this paper, we proposed the NNB to categorize product pages on the Web. It is a modiied version of the NB and we got the idea from the CNB. Its equation is derivable from the equation of the NB unlike the CNB and it has the same advantage as the CNB: it tackles the ununiformity of the data distribution through categories.</p><p>We performed classiication experiments using four kinds of features and product pages of three genres to compare three kinds of classiication methods: the NB, the CNB, and the NNB. The fea­tures are all words in titles of the products pages, nouns extracted from the titles, all words in titles and descriptions of the product pages, and nouns extracted from them. The genres are Windows desktop PC, baby products, and memorial stamps.</p><p>The experiments gave us following three obser­vations: (1) The titles of the product pages were better features for classiication than the titles and the descriptions of them, at least for the product pages about Windows desktop PC, (2) When the classiiers were developed based on the titles of the product pages, our proposal method the NNB is always the best classiication method in the three genres. (3) The NNB is not the best classiica-tion of three-class classiication of the three gen­res. Therefore we think that the NNB is good for non-uniformly distributed data but is not so good for uniformly distributed data.</p></section><references><p>Kiyoshi Izutsu, Makoto Yokozawa, and Takeshi Shi-nohara. 2005. Comparative evaluation and appli­cations of automatic web-based document classifi­cation methods. In <i>IPSJ SIG Notes 2005(32) (In Japanese), </i>pages 25-32.</p><p>J.D.M.Rennie, L.Shih, J.Teevan, and D.R.Karger. 2003. Tackling the poor assumptions of naive bayes text classification. In <i>ICML2003, </i>pages 616-623.</p><p>David D. Lewis. 1992. An evaluation of phrasal and clustered representations on a text categoriza­tion task. In <i>15th Annual International ACM SIGIR Conference on Research and Development in Infor­mation Retrieval, </i>pages 37-50.</p><p>Andrew McCallum and Kamal Nigam. 1998. A com­parison of event models for naive bayes text classi­fication. In <i>AAAI/ICML-98 Workshop on Learning for Text Categorization, </i>pages 41-48.</p><p>Daichi Mochihashi. 2006. Bayesian approaches in nat­ural language processing. In <i>IEICE Technical Re­port. NC, Neurocomputing (In Japanese), </i>pages 25­30.</p><p>Jun Nishimura, Rintaro Miyazaki, Naoto Maeda, Tat-sunori Mori, Shorei O, Yusuke Ishikawa, Hiroyuki Kobayashi, Yuya Tanaka, and Fuyuko Kido. 2008. Attribute-value extraction from description of ex­hibits for facetted search in net auction system. In <i>ANLP2008 (In Japanese), </i>pages 392-395.</p><p>Naoto Sato, Kanako Komiya, Koji Fujimoto, and Yoshiyuki Kotani. 2011. Categorization of prod­uct pages depending on information on the web. In <i>UCSIP2011, </i>pages 393-398.</p><p>Kenneth W.Church. 2000. Empirical estimates of adaptation: The chance of two noriegas is closer to <i>p/2 </i>than p<footnote anchor="2"/>. In <i>COLING ' 00, </i>pages 173-179.</p></references></body></article>