亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nbtree.java

?? Weka
?? JAVA
字號:
/* *    This program is free software; you can redistribute it and/or modify *    it under the terms of the GNU General Public License as published by *    the Free Software Foundation; either version 2 of the License, or *    (at your option) any later version. * *    This program is distributed in the hope that it will be useful, *    but WITHOUT ANY WARRANTY; without even the implied warranty of *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *    GNU General Public License for more details. * *    You should have received a copy of the GNU General Public License *    along with this program; if not, write to the Free Software *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *//* *    NBTree.java *    Copyright (C) 2004 University of Waikato, Hamilton, New Zealand * */package weka.classifiers.trees;import weka.classifiers.Classifier;import weka.classifiers.trees.j48.NBTreeClassifierTree;import weka.classifiers.trees.j48.NBTreeModelSelection;import weka.core.AdditionalMeasureProducer;import weka.core.Capabilities;import weka.core.Drawable;import weka.core.Instance;import weka.core.Instances;import weka.core.Summarizable;import weka.core.TechnicalInformation;import weka.core.TechnicalInformationHandler;import weka.core.WeightedInstancesHandler;import weka.core.TechnicalInformation.Field;import weka.core.TechnicalInformation.Type;import java.util.Enumeration;import java.util.Vector;/** <!-- globalinfo-start --> * Class for generating a decision tree with naive Bayes classifiers at the leaves.<br/> * <br/> * For more information, see<br/> * <br/> * Ron Kohavi: Scaling Up the Accuracy of Naive-Bayes Classifiers: A Decision-Tree Hybrid. In: Second International Conference on Knoledge Discovery and Data Mining, 202-207, 1996. * <p/> <!-- globalinfo-end --> * <!-- technical-bibtex-start --> * BibTeX: * <pre> * &#64;inproceedings{Kohavi1996, *    author = {Ron Kohavi}, *    booktitle = {Second International Conference on Knoledge Discovery and Data Mining}, *    pages = {202-207}, *    title = {Scaling Up the Accuracy of Naive-Bayes Classifiers: A Decision-Tree Hybrid}, *    year = {1996} * } * </pre> * <p/> <!-- technical-bibtex-end --> * <!-- options-start --> * Valid options are: <p/> *  * <pre> -D *  If set, classifier is run in debug mode and *  may output additional info to the console</pre> *  <!-- options-end --> * * @author Mark Hall * @version $Revision: 1.9 $ */public class NBTree   extends Classifier   implements WeightedInstancesHandler, Drawable, Summarizable,	     AdditionalMeasureProducer, TechnicalInformationHandler {  /** for serialization */  static final long serialVersionUID = -4716005707058256086L;  /** Minimum number of instances */  private int m_minNumObj = 30;  /** The root of the tree */  private NBTreeClassifierTree m_root;    /**   * Returns a string describing classifier   * @return a description suitable for   * displaying in the explorer/experimenter gui   */  public String globalInfo() {    return "Class for generating a decision tree with naive Bayes classifiers at "      + "the leaves.\n\n"      + "For more information, see\n\n"      + getTechnicalInformation().toString();  }  /**   * Returns an instance of a TechnicalInformation object, containing    * detailed information about the technical background of this class,   * e.g., paper reference or book this class is based on.   *    * @return the technical information about this class   */  public TechnicalInformation getTechnicalInformation() {    TechnicalInformation 	result;        result = new TechnicalInformation(Type.INPROCEEDINGS);    result.setValue(Field.AUTHOR, "Ron Kohavi");    result.setValue(Field.TITLE, "Scaling Up the Accuracy of Naive-Bayes Classifiers: A Decision-Tree Hybrid");    result.setValue(Field.BOOKTITLE, "Second International Conference on Knoledge Discovery and Data Mining");    result.setValue(Field.YEAR, "1996");    result.setValue(Field.PAGES, "202-207");        return result;  }  /**   * Returns default capabilities of the classifier.   *   * @return      the capabilities of this classifier   */  public Capabilities getCapabilities() {    return new NBTreeClassifierTree(null).getCapabilities();  }  /**   * Generates the classifier.   *   * @param instances the data to train with   * @throws Exception if classifier can't be built successfully   */  public void buildClassifier(Instances instances) throws Exception {        NBTreeModelSelection modSelection =       new NBTreeModelSelection(m_minNumObj, instances);    m_root = new NBTreeClassifierTree(modSelection);    m_root.buildClassifier(instances);  }  /**   * Classifies an instance.   *   * @param instance the instance to classify   * @return the classification   * @throws Exception if instance can't be classified successfully   */  public double classifyInstance(Instance instance) throws Exception {    return m_root.classifyInstance(instance);  }  /**    * Returns class probabilities for an instance.   *   * @param instance the instance to get the distribution for   * @return the class probabilities   * @throws Exception if distribution can't be computed successfully   */  public final double[] distributionForInstance(Instance instance)        throws Exception {    return m_root.distributionForInstance(instance, false);  }  /**   * Returns a description of the classifier.   *    * @return a string representation of the classifier   */  public String toString() {    if (m_root == null) {      return "No classifier built";    }    return "NBTree\n------------------\n" + m_root.toString();  }  /**   *  Returns the type of graph this classifier   *  represents.   *  @return Drawable.TREE   */     public int graphType() {      return Drawable.TREE;  }  /**   * Returns graph describing the tree.   *   * @return the graph describing the tree   * @throws Exception if graph can't be computed   */  public String graph() throws Exception {    return m_root.graph();  }  /**   * Returns a superconcise version of the model   *    * @return a description of the model   */  public String toSummaryString() {    return "Number of leaves: " + m_root.numLeaves() + "\n"         + "Size of the tree: " + m_root.numNodes() + "\n";  }  /**   * Returns the size of the tree   * @return the size of the tree   */  public double measureTreeSize() {    return m_root.numNodes();  }  /**   * Returns the number of leaves   * @return the number of leaves   */  public double measureNumLeaves() {    return m_root.numLeaves();  }  /**   * Returns the number of rules (same as number of leaves)   * @return the number of rules   */  public double measureNumRules() {    return m_root.numLeaves();  }  /**   * Returns the value of the named measure   * @param additionalMeasureName the name of the measure to query for its value   * @return the value of the named measure   * @throws IllegalArgumentException if the named measure is not supported   */  public double getMeasure(String additionalMeasureName) {    if (additionalMeasureName.compareToIgnoreCase("measureNumRules") == 0) {      return measureNumRules();    } else if (additionalMeasureName.compareToIgnoreCase("measureTreeSize") == 0) {      return measureTreeSize();    } else if (additionalMeasureName.compareToIgnoreCase("measureNumLeaves") == 0) {      return measureNumLeaves();    } else {      throw new IllegalArgumentException(additionalMeasureName 			  + " not supported (j48)");    }  }    /**   * Returns an enumeration of the additional measure names   * @return an enumeration of the measure names   */  public Enumeration enumerateMeasures() {    Vector newVector = new Vector(3);    newVector.addElement("measureTreeSize");    newVector.addElement("measureNumLeaves");    newVector.addElement("measureNumRules");    return newVector.elements();  }  /**   * Main method for testing this class   *   * @param argv the commandline options   */  public static void main(String[] argv){    runClassifier(new NBTree(), argv);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产精品第一页| 亚洲一区二区欧美| 亚洲美女在线国产| 国产精品91一区二区| 欧美一级日韩不卡播放免费| 亚洲mv在线观看| 色偷偷88欧美精品久久久| 6080日韩午夜伦伦午夜伦| 亚洲国产精品久久久久婷婷884| 国产一区二区在线影院| 欧美电视剧在线看免费| 精品写真视频在线观看| xvideos.蜜桃一区二区| 国产成人亚洲综合色影视| 一区二区中文字幕在线| 国产福利一区在线| 日韩精品一二三区| 国产精品国产三级国产a| 欧美日韩视频在线一区二区| 激情亚洲综合在线| 亚洲一区二区三区精品在线| 国产午夜精品一区二区三区视频| 国产成人鲁色资源国产91色综| 亚洲一区影音先锋| 日韩欧美卡一卡二| 色婷婷av一区| 久久电影网站中文字幕| 亚洲欧洲中文日韩久久av乱码| 欧美三级日韩三级国产三级| av成人老司机| 成人av手机在线观看| 国产精品一二三四五| 不卡视频免费播放| 色老汉av一区二区三区| 欧美性三三影院| 欧美日本一区二区三区| 4438亚洲最大| 精品三级av在线| 久久亚洲免费视频| 久久精品一区二区三区不卡牛牛| 国产拍揄自揄精品视频麻豆| 136国产福利精品导航| 中文字幕在线一区免费| 亚洲一二三四在线| 精品一区二区免费看| 91在线无精精品入口| 欧美性三三影院| 国产精品久久久久精k8| 日本亚洲免费观看| www.亚洲人| 制服丝袜中文字幕一区| 精品少妇一区二区三区免费观看| 国产精品久久影院| 蜜桃视频一区二区| 风间由美中文字幕在线看视频国产欧美| 国产剧情av麻豆香蕉精品| 在线亚洲一区二区| 久久精品一区二区| 麻豆视频一区二区| 欧美三级蜜桃2在线观看| 欧美一区二区视频观看视频| 欧美国产成人在线| 亚洲影视在线播放| 成人av手机在线观看| 久久免费偷拍视频| 亚洲国产精品综合小说图片区| 国产精品18久久久久久久久久久久 | 久久久久久久久久看片| 亚洲小少妇裸体bbw| 97精品国产97久久久久久久久久久久 | 精品在线免费视频| 制服丝袜一区二区三区| 国产精品美女久久久久高潮| 老司机免费视频一区二区| 91视频在线观看免费| 成人免费在线播放视频| 色久优优欧美色久优优| 亚洲综合丝袜美腿| 欧美色老头old∨ideo| 2017欧美狠狠色| 捆绑紧缚一区二区三区视频| 国产色产综合色产在线视频| 91麻豆国产精品久久| 一区二区三区影院| 91小视频在线免费看| 亚洲精品国产精华液| 欧美三级韩国三级日本三斤| 亚洲国产视频直播| 337p粉嫩大胆色噜噜噜噜亚洲| 亚洲成人你懂的| 国产精品美日韩| 欧美一级xxx| 一本到一区二区三区| 国产精品夜夜嗨| 男女男精品网站| 欧美经典三级视频一区二区三区| voyeur盗摄精品| 国产在线精品一区二区不卡了| 久久视频一区二区| 欧美日韩综合色| 久久99国产乱子伦精品免费| 欧美一区二区三区四区久久| 亚洲综合免费观看高清完整版| 69堂国产成人免费视频| 色综合天天综合狠狠| www.日韩av| 国产大陆a不卡| 免费在线观看视频一区| 精品国产青草久久久久福利| 欧美在线观看你懂的| 国内久久精品视频| 亚洲人成网站精品片在线观看| 欧美日韩精品系列| 99久久伊人网影院| 午夜视频久久久久久| 欧美国产日韩精品免费观看| 亚洲美女屁股眼交| 日韩精品专区在线| 欧美影院精品一区| 一色桃子久久精品亚洲| 成人三级伦理片| 亚洲一区二区在线免费观看视频| 亚洲欧美国产高清| 狂野欧美性猛交blacked| 91福利国产精品| 亚洲国产精品传媒在线观看| 天堂av在线一区| 欧美最猛性xxxxx直播| 国产无一区二区| 国产精品小仙女| 国产欧美精品一区二区色综合| 亚洲黄色片在线观看| 国产风韵犹存在线视精品| 91精品福利在线一区二区三区| 精品久久久久久久久久久久久久久久久 | 97aⅴ精品视频一二三区| 久久综合九色综合久久久精品综合| 在线观看日韩一区| 亚洲国产三级在线| 欧美一区二区三区在线看| 亚洲自拍另类综合| 日韩和欧美的一区| 成人免费高清视频在线观看| 欧美电影免费提供在线观看| 紧缚捆绑精品一区二区| 色婷婷综合久久久久中文一区二区 | 69久久夜色精品国产69蝌蚪网| 国产午夜精品一区二区 | 国产乱码精品一区二区三区忘忧草| 欧美日韩你懂的| 日本成人在线一区| 欧美三日本三级三级在线播放| 亚洲日本丝袜连裤袜办公室| 色94色欧美sute亚洲线路一久| 亚洲欧美另类久久久精品| 欧美午夜理伦三级在线观看| 日韩极品在线观看| 日韩一卡二卡三卡| 精品一区二区三区影院在线午夜| 欧美一区二区三区性视频| 精品国免费一区二区三区| 丝袜美腿高跟呻吟高潮一区| 国产精品久久综合| 成人激情视频网站| 亚洲精品免费电影| 欧美日韩精品三区| 美女一区二区视频| 久久亚洲精精品中文字幕早川悠里| 精品一区中文字幕| 亚洲欧美在线视频| 欧美变态口味重另类| 成人网男人的天堂| 亚洲欧美日韩系列| av中文字幕亚洲| 韩国一区二区视频| 国产日韩精品一区| 国产伦精品一区二区三区免费迷| 中文字幕欧美国产| 欧美精品aⅴ在线视频| 国产电影一区在线| 轻轻草成人在线| 亚洲色欲色欲www在线观看| 777色狠狠一区二区三区| 国产99久久久国产精品| 日韩福利视频网| 欧美国产乱子伦| 日韩欧美久久久| 欧美日韩国产系列| aaa欧美大片| 日韩和的一区二区| 中文字幕乱码久久午夜不卡| 日韩免费电影一区| www.久久久久久久久| 亚洲成av人影院| 国产欧美视频一区二区三区| 欧美在线一二三四区| 成人av片在线观看| 青青草97国产精品免费观看 | 国内精品久久久久影院一蜜桃| 亚洲精选一二三|