목록IT 기술 (82)
안단테 안단테
========================================================================================================= 인자값 Usage: [--input --output --help --tempDir --startPhase --endPhase ] Job-Specific Options: --input (-i) input Path to job input directory. --output (-o) output The directory pathname for output. --help (-h) Print out help --tempDir tempDir Intermediate output directory --startPhase startP..
인자값 Usage: [--minSupport --analyzerName --chunkSize --output --input --minDF --maxDFSigma --maxDFPercent --weight --norm --minLLR --numReducers --maxNGramSize --overwrite --help --sequentialAccessVector --namedVector --logNormalize] Options --minSupport (-s) minSupport (Optional) Minimum Support. Default Value: 2 --analyzerName (-a) analyzerName The class name of the analyzer --chunkSize (-chunk..
mahout seqdirectory 인자값 [root@masters mahout-distribution-0.9]# mahout seqdirectory -i path -o path-seqdir -c UTF-8 -chunk 64 -xm sequential -s MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath. Running on hadoop, using /usr/local/hadoop/hadoop-1.1.1/bin/hadoop and HADOOP_CONF_DIR=/usr/local/hadoop/hadoop-1.1.1/conf MAHOUT-JOB: /usr/local/mahout/mahout-distribution-0.9/mahout-examples..
9장 LDA 돌리는 순서 + $MAHOUT_HOME/bin/mahout seqdirectory + -i reuters + -o reuters-seqdir + -c UTF-8 + -chunk 64 + -xm sequential mahout seq2sparse \ -i reuters-seqdir \ -o reuters-cvb -wt tf -seq -nv mahout rowid -i reuters-cvb/tf-vectors -o reuters-cvb mahout cvb -dict reuters-cvb/dictionary.file-0 -ow -i reuters-cvb/matrix/ -o reuters-topics -k 10 -x 20 -dt topics-output -mt topics-model mahout v..
새로 만든 벡터로 k-means 인풋으로 넣고.... 결과값 확인하려고 classdump 이용했는데... 다음과 같은 오류가 나서... MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath. Running on hadoop, using /usr/local/hadoop/hadoop-1.1.1/bin/hadoop and HADOOP_CONF_DIR=/usr/local/hadoop/hadoop-1.1.1/conf MAHOUT-JOB: /usr/local/mahout/mahout-distribution-0.9/mahout-examples-0.9-job.jar 15/03/09 20:15:03 INFO common.AbstractJob: Command line..
mahout clusterdump -dt sequencefile -d reuters-vectors/dictionary.file-0 -i reuters-kmeans-clusters/clusters-2 -b 100 -n 10
로컬로 실행하지 않고 분산으로 실행시키려면 KMeansDriver 클래스의 run에 맵리듀스 부분이 있으니깐 이 부분을 실행시켜야 된다. public static void run(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path input, org.apache.hadoop.fs.Path clustersIn, org.apache.hadoop.fs.Path output, DistanceMeasure measure, double convergenceDelta, int maxIterations, boolean runClustering, double clusterClassificationThreshold, boolean runSequenti..
책에 나와있는대로 하면 안되고... mahout seq2sparse -i reuters-seqfiles/ -o reuters-vectors-bigram -ow -a org.apache.lucene.analysis.core.WhitespaceAnalyzer -chunk 200 -wt tfidf -s 5 -md 3 -x 90 -ng 2 -ml 50 -seq 다음과 같이 바꿔줘야됨..
제일 먼저 코드 수정이 필요합니다. 기존 : import org.apache.mahout.clustering.classify.WeightedVectorWritable; 수정 : import org.apache.mahout.clustering.classify.WeightedPropertyVectorWritable; 기존 : import org.apache.mahout.clustering.kmeans.Cluster; 수정 : import org.apache.mahout.clustering.kmeans.Kluster; 코드에도 다음과 같은 내용이 있으면 다 같이 바꿔주세요~! 그 다음에 Mahout은 Hadoop 과 연관성이 있기 때문에, 1. slf4j-log4j12-1.7.5.jar 2. slf4j-ap..

https://andante-sloth.tistory.com/116 [Flutter] 1. facebook 로그인 테스트 (firebase 프로젝트 생성) 우리가 어플을 사용하다 보면 SNS 로그인을 필요한 시점이 있다 그래서 나는 구글 / 페이스북 / 네이버 / 카카오 로그인 구현을 예제코드랑 함께 업로드 할 예정이다 모든것이 그렇듯이 환경에 따 andante-sloth.tistory.com 위 링크에서 파이어베이스 프로젝트를 생성했다면 이제 세팅을 해야 된다. 개발도 어려운데 세팅이 더 어려운거 같다.. 설정해줘야되는게 너무 많아 ㅡ.ㅡ.. 우리는 안드로이드 먼저 세팅을 해줄거니깐 메인 화면에서 안드로이드 버튼을 누르자 자 그러면 아래와 같은 화면이 나오는데 어디에서 이걸 확인해서 입력하냐.. 먼저 ..