wget http://prdownloads.sourceforge.net/weka/weka-3-6-1.zip unzip weka-3-6-1.zip cd weka-3-6-1 java -jar weka.jar
java -classpath weka.jar weka.classifiers.trees.J48 -t ***.arff java -classpath weka.jar weka.classifiers.trees.J48 -C 0.25 -M 1 -t ***.arff
export PATH=$PATH:/home/weka export CLASSPATH=$CLASSPATH:/home/weka/weka.jar:.
@relation member @attribute ºâ̳(1010) Real @attribute ɱ¡»ö¶È(1101) Real @attribute ¶µ°é(1120) Real @attribute ³Ø¹»(1121) Real ¡¦¡¦¡¦ @attribute Member {memberA,memberB,memberC,¡¦¡¦¡¦} @data 0.113389626,0.031363088,¡¦¡¦¡¦,0,memberA 0.151930262,0.078455791,¡¦¡¦¡¦,0,memberB
¥³¥Ô¡¼¤·¡¢¡Ö·Á¼°¤òÁªÂò¤·¤Æ¥Ú¡¼¥¹¥È¡×¤Ç¡¢¹Ô¤òÎó¤ÎÆþ¤ìÂؤ¨¤òÁªÂò
Confidence Factor ÑòÄê¤Î¤¿¤á¤Î¿®ÍêÍ×°ø¡£Ãͤ¬¾®¤µ¤¤¤Û¤É¤è¤ê¿¤¯ÑòÄꤵ¤ì¤ë
miniNumObj Íդˤª¤±¤ëºÇ¾¯¤Î¸ÄÂοô
µÄ°÷A¤Îȯ¸ÀÁí¿ô 1000²ó µÄ°÷A¤Îºâ̳¤Ë´ØÏ¢¤¹¤ëȯ¸À200²ó¡¡¤Î¾ì¹ç µÄ°÷A¤Îºâ̳¤ÎÃͤϡ¡0.2 ¤È¤Ê¤ë
¥Ð¥Ã¥Õ¥¡¤ÎÊݸ
-t : ·±Îý»öÎã¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡£ -T : ¥Æ¥¹¥È»öÎã¥Õ¥¡¥¤¥ë¤ò»ØÄꤹ¤ë¡£ ¤â¤·¤³¤ì¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢·±Îý»öÎã¤ËÂФ·¤Æ¸òº¹¸¡Äê¤ò¹Ô¤¦¡£ -c : ¥¯¥é¥¹Â°À¤ò»ØÄꤹ¤ë¡£¥¯¥é¥¹¤È¤·¤Æ»ØÄꤷ¤¿¤¤Â°À¤òÈÖ¹æ¤Ç»ØÄꤹ¤ë¡£¤½¤Î°À¤¬ÆþÎÏ¥Õ¥¡¥¤¥ëÃæ¤Ç£±Èֺǽé¤ËÀë¸À¤µ¤ì¤¿Â°À¤Ç¤¢¤ì¤Ð£±¡¢£²ÈÖÌܤǤ¢¤ì¤Ð£²¤È»ØÄꤹ¤ë¡£ -x : ¸òº¹¸¡Äê¤Î fold ¿ô¤ò»ØÄꤹ¤ë¡£ -v : ÌÚ¤ËÂФ¹¤ëɾ²Á(Error on training data)¤òɽ¼¨¤·¤Ê¤¤¡£ -o : ·èÄêÌÚ¤òɽ¼¨¤·¤Ê¤¤¡£ -d : À¸À®¤·¤¿ÌÚ¤òÊݸ¤¹¤ë¡£Â¾¤Î¥Æ¥¹¥È»öÎã¤ËÂФ·¤Æ¡¢Æ±¤¸ÌÚ¤òºî¤êľ¤¹É¬Íפ¬¤Ê¤¯¤Ê¤ë¡£ -l : Êݸ¤·¤¿ÌÚ¤ò¸Æ¤Ó½Ð¤¹¡£ -C : pruning confidence (»Þ´¢¤ê¤Î¶¯¤µ¤òɽ¤¹¿ôÃÍ¡£Ãͤ¬¾®¤µ¤¤¤Û¤É¡¢Â礤¤»Þ´¢¤ê¤¬¹Ô¤ï¤ì¤ë¡£ ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 25% )¤ÎÃͤò»ØÄꤹ¤ë¡£ -M : Íդ˺ÇÄã¸Â´Þ¤Þ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¥Ç¡¼¥¿¿ô¤ò»ØÄꤹ¤ë¡£