From user-return-5324-apmail-mahout-user-archive=mahout.apache.org@mahout.apache.org Fri Nov 19 02:51:58 2010 Return-Path: Delivered-To: apmail-mahout-user-archive@www.apache.org Received: (qmail 69195 invoked from network); 19 Nov 2010 02:51:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Nov 2010 02:51:58 -0000 Received: (qmail 53183 invoked by uid 500); 19 Nov 2010 02:52:29 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 53070 invoked by uid 500); 19 Nov 2010 02:52:28 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 53062 invoked by uid 99); 19 Nov 2010 02:52:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 02:52:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of divya@k2associates.com.sg designates 202.75.59.30 as permitted sender) Received: from [202.75.59.30] (HELO host-9a.onnet.com.my) (202.75.59.30) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 02:52:19 +0000 Received: from 224.210-193-58.adsl.qala.com.sg ([210.193.58.224] helo=k2asystem) by host-9a.onnet.com.my with esmtp (Exim 4.69) (envelope-from ) id 1PJH4q-00046w-Iw for user@mahout.apache.org; Fri, 19 Nov 2010 10:51:53 +0800 From: "Divya" To: Subject: bayes test classifier results Date: Fri, 19 Nov 2010 10:51:50 +0800 Message-ID: <003e01cb8794$b90e9000$2b2bb000$@com.sg> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003F_01CB87D7.C731D000" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcuHlLT8HiYgiUS6TgyInrLYzMPhHQ== Content-Language: en-us x-cr-hashedpuzzle: Mgs= AFk7 AnqY BCyb BDn7 Bp/e DkfI FDw2 F/uH Gpue HUBv HY7O IlKZ IsfX Ix0F JM8T;1;dQBzAGUAcgBAAG0AYQBoAG8AdQB0AC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{12B275FA-1C19-474F-9B30-22C52C7BAF11};ZABpAHYAeQBhAEAAawAyAGEAcwBzAG8AYwBpAGEAdABlAHMALgBjAG8AbQAuAHMAZwA=;Fri, 19 Nov 2010 02:51:47 GMT;YgBhAHkAZQBzACAAdABlAHMAdAAgAGMAbABhAHMAcwBpAGYAaQBlAHIAIAByAGUAcwB1AGwAdABzAA== x-cr-puzzleid: {12B275FA-1C19-474F-9B30-22C52C7BAF11} X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host-9a.onnet.com.my X-AntiAbuse: Original Domain - mahout.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - k2associates.com.sg ------=_NextPart_000_003F_01CB87D7.C731D000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Why am I getting below result ? Correctly Classified Instances : 0 ?% Incorrectly Classified Instances : 0 ?% Total Classified Instances : 0 Is there anything I am missing? Following https://cwiki.apache.org/MAHOUT/twenty-newsgroups.html Running on hadoop, using HADOOP_HOME=C:\cygwin\home\Divya\hadoop-0.20.2 HADOOP_CONF_DIR=C:\cygwin\home\Divya\hadoop-0.20.2\conf 10/11/19 10:45:06 INFO bayes.TestClassifier: Loading model from: {basePath=D:/mahout-0.4/examples/bin/work/20news-bydate/bayes-model, c lassifierType=bayes, alpha_i=1.0, dataSource=hdfs, gramSize=1, verbose=false, encoding=UTF-8, defaultCat=unknown, testDirPath=D:/mahout -0.4/examples/bin/work/20news-test-input} 10/11/19 10:45:06 INFO bayes.TestClassifier: Testing Bayes Classifier 10/11/19 10:45:07 INFO io.SequenceFileModelReader: file:/D:/mahout-0.4/examples/bin/work/20news-bydate/bayes-model/trainer-weig hts/Sigm a_j/part-00000 10/11/19 10:45:07 INFO io.SequenceFileModelReader: Read 50000 feature weights 10/11/19 10:45:08 INFO io.SequenceFileModelReader: Read 100000 feature weights 10/11/19 10:45:09 INFO io.SequenceFileModelReader: file:/D:/mahout-0.4/examples/bin/work/20news-bydate/bayes-model/trainer-weig hts/Sigm a_k/part-00000 10/11/19 10:45:09 INFO io.SequenceFileModelReader: file:/D:/mahout-0.4/examples/bin/work/20news-bydate/bayes-model/trainer-weig hts/Sigm a_kSigma_j/part-00000 10/11/19 10:45:09 INFO io.SequenceFileModelReader: 190570.4012562479 10/11/19 10:45:09 INFO io.SequenceFileModelReader: file:/D:/mahout-0.4/examples/bin/work/20news-bydate/bayes-model/trainer-thet aNormali zer/part-00000 10/11/19 10:45:09 INFO io.SequenceFileModelReader: file:/D:/mahout-0.4/examples/bin/work/20news-bydate/bayes-model/trainer-tfId f/traine r-tfIdf/part-00000 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: rec.sport.baseball -127395.14399316616 547567.2698760114 -0.232656608606305 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: sci.crypt -189010.62350617323 547567.2698760114 -0.3451824714595741 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: rec.sport.hockey -166203.2548335905 547567.2698760114 -0.3035302947731423 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: talk.politics.guns -198793.14260997134 547567.2698760114 -0.3630478911841921 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: soc.religion.christian -158106.48187003663 547567.2698760114 -0.28874348517185 39 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: sci.electronics -138650.82033374818 547567.2698760114 -0.25321239592195427 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: comp.os.ms-windows.misc -547567.2698760114 547567.2698760114 -1.0 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: misc.forsale -141981.48005545404 547567.2698760114 -0.2592950453148956 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: talk.religion.misc -134885.60852883724 547567.2698760114 -0.2463361416020722 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: alt.atheism -134262.42728922528 547567.2698760114 -0.24519805086163576 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: comp.windows.x -172513.19965389522 547567.2698760114 -0.3150538922696353 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: talk.politics.mideast -189368.63272082788 547567.2698760114 -0.345836289235672 6 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: comp.sys.ibm.pc.hardware -134535.56471897085 547567.2698760114 -0.245696870723 17975 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: comp.sys.mac.hardware -121323.6282757108 547567.2698760114 -0.2215684445551005 2 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: sci.space -189203.04544769705 547567.2698760114 -0.3455338838834164 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: rec.motorcycles -138625.2628242977 547567.2698760114 -0.25316572127418674 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: rec.autos -136935.18434679657 547567.2698760114 -0.25007919917821886 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: comp.graphics -161979.38306986375 547567.2698760114 -0.29581640828631267 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: talk.politics.misc -159579.70032298338 547567.2698760114 -0.29143396455949216 10/11/19 10:45:12 INFO datastore.InMemoryBayesDatastore: sci.med -183835.5334355675 547567.2698760114 -0.3357314133790253 10/11/19 10:45:12 INFO bayes.TestClassifier: ======================================================= Summary ------------------------------------------------------- Correctly Classified Instances : 0 ?% Incorrectly Classified Instances : 0 ?% Total Classified Instances : 0 ======================================================= Confusion Matrix ------------------------------------------------------- a b c d e f g h i j k l m n o p q r s t <--Classified as 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 a = rec.sport.baseball 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 b = sci.crypt 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 c = rec.sport.hockey 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 d = talk.politics.guns 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 e = soc.religion.christian 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 f = sci.electronics 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 g = comp.os.ms-windows.misc 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 h = misc.forsale 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 i = talk.religion.misc 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 j = alt.atheism 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 k = comp.windows.x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 l = talk.politics.mideast 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 m = comp.sys.ibm.pc.hardware 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 n = comp.sys.mac.hardware 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 o = sci.space 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 p = rec.motorcycles 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 q = rec.autos 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 r = comp.graphics 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 s = talk.politics.misc 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 t = sci.med Default Category: unknown: 20 10/11/19 10:45:12 INFO driver.MahoutDriver: Program took 5485 ms ------=_NextPart_000_003F_01CB87D7.C731D000--