mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Divya" <di...@k2associates.com.sg>
Subject bayes test classifier results
Date Fri, 19 Nov 2010 02:51:50 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message