더북(TheBook)

결과 검사하기

결과는 머하웃이 알아볼 수 있는 원시 포맷이다. 시퀀스 덤퍼도 있어서 내용을 볼 수 있다.


jason@bigdatagames:~/mahoutdemo$ /usr/local/mahout/bin/mahout seqdumper -i patterns/frequentpatterns/part-r-00000
MAHOUT_LOCAL is set, so we don’t add HADOOP_CONF_DIR to classpath.
MAHOUT_LOCAL is set, running locally
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/mahout-distribution-0.8/mahout-examples-0.8-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/mahout-distribution-0.8/lib/slf4j-jcl-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JCLLoggerFactory]
May 01, 2014 1: 50: 45 PM org.slf4j.impl.JCLLoggerAdapter info
INFO: Command line arguments: {–endPhase=[ 2147483647], –input=[patterns/frequentpatterns/part-r-00000], –startPhase=[ 0], –tempDir=[temp]}
Input Path: patterns/frequentpatterns/part-r-00000
Key class: class org.apache.hadoop.io.Text Value Class: class org.apache.mahout.fpm.pfpgrowth.convertors.string.TopKStringPatterns
Key: 1: Value: ([ 1], 80), ([ 142, 1], 42), ([ 133, 1], 42), ([ 125, 1], 39), ([ 133, 142, 1], 30), ([ 142, 125, 1], 29), ([ 133, 125, 1], 29), ([ 133, 142, 125, 1], 22), ([ 133, 142, 154, 1], 20), ([ 133, 142, 125, 154, 1], 15)
Key: 10: Value: ([ 10], 39), ([ 133, 10], 22), ([ 142, 10], 21), ([ 125, 10], 21), ([ 142, 125, 10], 15), ([ 133, 142, 10], 15), ([ 133, 125, 10], 14), ([ 133, 142, 176, 10], 12), ([ 133, 142, 125, 10], 11), ([ 133, 142, 125, 176, 10], 10)
Key: 100: Value: ([ 100], 35), ([ 17, 100], 22), ([ 142, 100], 22), ([ 133, 100], 20), ([ 142, 17, 100], 18), ([ 133, 17, 100], 17), ([ 133, 142, 100], 15), ([ 133, 142, 17, 100], 14), ([ 133, 125, 100], 14), ([ 133, 142, 125, 17, 100], 12)

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.