Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javaµ÷ÓÃweka

ת×Ô£ºhttp://blog.csdn.net/felomeng/archive/2009/10/17/4688257.aspx
 ÔÚeclipseÏÂʹÓÃjavaµ÷ÓÃweka ÊÕ²Ø
wekaÊǺܺÃÓõĻúÆ÷ѧϰ¿â£¬ÕâÀï¾Í²»Ïêϸ½éÉÜÁË¡£
ÑÔ¹éÕý´«£¬ÒªÊ¹ÓóÌÐò·½Ê½Ê¹ÓÃweka£¬²½ÖèÈçÏ£º
Ò»¡¢ÔÚeclipseÀïн¨Ò»¸öjava project£º
1.      ½¨Á¢¹¤³Ì£ºµ¥»÷²Ëµ¥ÖÐfile->new->java project£¬ÔÚµ¯³ö¶Ô»°¿òµÄproject nameÖÐÆðÈÎÒâÒ»¸öÃû×Ö£¬´Ë´¦¼ÙÉèÊÇwekaTest¡£µ¥»÷Finish°´Å¥£¨ÔÚ¶Ô»°¿òµ×²¿£©¡£
2.      ½¨Á¢package£ºÔÚpackage ExplorerÖÐÕÒµ½¸Õ²Åн¨µÄ¹¤³Ì£¬ÔÚÆäÉÏÓÒ¼ü->New->package¡£ÔÚNameÎı¾¿òÀïÃæÊäÈëÃû³Æ£¬´Ë´¦¼ÙÉèΪTest¡£µ¥»÷Finish°´Å¥¡£
3.      ½¨Á¢³ÌÐòÎļþ£ºÔÚ¸Õ²Åн¨µÄpackageÉÏÃæÓÒ¼ü->New->class£¬Ñ¡ÖÐpublic static void main(String[] args)¶àÑ¡¿ò£¬µ¥»÷Finish¡£
¶þ¡¢Ôڸù¤³ÌÖÐÌí¼ÓwekaµÄÒýÓãº
1.    package ExplorerÖй¤³ÌÃûÉÏÓÒ¼ü£¬Ñ¡Ôñµ¯³ö²Ëµ¥×îºóÒ»Ïîproperties->ÔÚ×óÃæÑ¡ÖÐjava Build Path->ÔÚÓÒÃæµÄLibraryÒ³Ãæ->µ¥»÷Add External JARs…->ä¯ÀÀwekaËùÔÚĿ¼£¬½«weka.jarÌí¼Ó½øÀ´£¬È»ºóµ¥»÷ok¡£
2.      ÔÚpackage ExplorerÖÐÔÚË«»÷TestÎļþ£¬È»ºóÔÚpackage wekaTest;Ò»¾äÏÂÃæÌí¼ÓËľä´úÂ룺
import java.io.File;
import weka.classifiers.Classifier;
import weka.classifiers.trees.J48;
import weka.core.Instances;
import weka.core.converters.ArffLoader;
Èý¡¢ÔÚ³ÌÐòÖÐÌí¼Ówekaµ÷ÓôúÂ룺
½«ÒÔÏ´úÂëÌí¼Óµ½Mainº¯ÊýÖУ¨ÔÚ// TODO Auto-generated method stubÏÂÃ棩£º
    Classifier m_classifier = new J48();
        File inputFile = new File("D:\\Program Files\\Weka-3-6\\data\\cpu.with.vendor.arff");//ѵÁ·ÓïÁÏÎļþ
        ArffLoader atf = new ArffLoader(); 
        atf.setFile(inputFile);
        Instances instancesTrain = atf.getDataSet(); // ¶ÁÈëѵÁ·Îļþ    
        inputFile = new File("D:\\Program Files\\Weka-3-6\\data\\


Ïà¹ØÎĵµ£º

javaÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

JAVAÅÅÐò»ã×Ü

package com.wepull.jbs.lesson4;
 
import java.util.Random;
 
/**
 * ÅÅÐò²âÊÔÀà
 *
 * ÅÅÐòËã·¨µÄ·ÖÀàÈçÏ£º
 * 1.²åÈëÅÅÐò£¨Ö±½Ó²åÈëÅÅÐò¡¢ÕÛ°ë²åÈëÅÅÐò¡¢Ï£¶ûÅÅÐò£©£»
 * 2.½»»»ÅÅÐò£¨Ã°ÅÝÅÝÅÅÐò¡¢¿ìËÙÅÅÐò£©£»
 * 3.Ñ¡ÔñÅÅÐò£¨Ö±½ÓÑ¡ÔñÅÅÐò¡¢¶ÑÅÅÐò£©£»
  ......

Java 7ÒѾ­Íê³ÉµÄÆß´óй¦ÄÜÔ¤ÀÀ

 
Java 7ÒѾ­Íê³ÉµÄÆß´óй¦ÄÜÔ¤ÀÀ  ×ª×Ô51CTO
½ñÄêµÄDevoxx´ó»áÓÖÊÇÒ»´ÎÓйØJava 7½ø³ÌµÄÒ»´Îչʾ´ó»á¡£Ò»Î»DevoxxµÄ²Î»áÕßÔÚ²©¿ÍÖб¨¸æÁËJava 7ÏÖÔÚÒѾ­Íê³ÉµÄ7´óй¦ÄÜ¡£Java 7Ô¤¼Æ½«ÔÚ2010Äê9ÔÂÕýʽµ½À´¡£
JigsawÏîÄ¿¼ò½é£ºJava 7µÄÐÂÄ£¿éϵͳ
̽ÃØJava 7ÐÂÔöÀ¬»ø»ØÊÕÆ÷G1ÌØÐÔ
̽ÃØJava 7£ºJVM¶¯Ì¬ÓïÑÔÖ ......

Java SE 6 Beta

 
Sun·¢²¼ÁËJava SE 6 Beta
£¨ÒÔϼò³Æ6£©£¬²éÁ˲鹦ÄܸĽø
£¬Ã»Óз¢ÏÖʲô¼¤¶¯ÈËÐĵı仯¡£ÌôÁ˼¸ÌõÉÔ΢¸ÐÐËȤһµãµÄÆÀ¼Ûһϡ£
jconsole is more user-friendly
6µÄн¨Á¬½ÓµÄ´°¿ÚÓзdz£´óµÄ¸Ä±ä¡£ÔÚLocal Process´°¿ÚÁгöÁËËùÓб¾µØjava½ø³Ì£¨°üÀ¨jconsole±¾Éí£©£¬²»ÄÜͨ¹ýJconsole½øÐйÜÀíµÄ½ø³Ì´¦ÓÚdisable× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ