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

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

?? j48.java

?? Weka
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
    if (confidenceString.length() != 0) {      if (m_reducedErrorPruning) {	throw new Exception("Setting the confidence doesn't make sense " +			    "for reduced error pruning.");      } else if (m_unpruned) {	throw new Exception("Doesn't make sense to change confidence for unpruned "			    +"tree!");      } else {	m_CF = (new Float(confidenceString)).floatValue();	if ((m_CF <= 0) || (m_CF >= 1)) {	  throw new Exception("Confidence has to be greater than zero and smaller " +			      "than one!");	}      }    } else {      m_CF = 0.25f;    }    String numFoldsString = Utils.getOption('N', options);    if (numFoldsString.length() != 0) {      if (!m_reducedErrorPruning) {	throw new Exception("Setting the number of folds" +			    " doesn't make sense if" +			    " reduced error pruning is not selected.");      } else {	m_numFolds = Integer.parseInt(numFoldsString);      }    } else {      m_numFolds = 3;    }    String seedString = Utils.getOption('Q', options);    if (seedString.length() != 0) {      m_Seed = Integer.parseInt(seedString);    } else {      m_Seed = 1;    }  }  /**   * Gets the current settings of the Classifier.   *   * @return an array of strings suitable for passing to setOptions   */  public String [] getOptions() {    String [] options = new String [14];    int current = 0;    if (m_noCleanup) {      options[current++] = "-L";    }    if (m_unpruned) {      options[current++] = "-U";    } else {      if (!m_subtreeRaising) {	options[current++] = "-S";      }      if (m_reducedErrorPruning) {	options[current++] = "-R";	options[current++] = "-N"; options[current++] = "" + m_numFolds;	options[current++] = "-Q"; options[current++] = "" + m_Seed;      } else {	options[current++] = "-C"; options[current++] = "" + m_CF;      }    }    if (m_binarySplits) {      options[current++] = "-B";    }    options[current++] = "-M"; options[current++] = "" + m_minNumObj;    if (m_useLaplace) {      options[current++] = "-A";    }    while (current < options.length) {      options[current++] = "";    }    return options;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String seedTipText() {    return "The seed used for randomizing the data " +      "when reduced-error pruning is used.";  }  /**   * Get the value of Seed.   *   * @return Value of Seed.   */  public int getSeed() {        return m_Seed;  }    /**   * Set the value of Seed.   *   * @param newSeed Value to assign to Seed.   */  public void setSeed(int newSeed) {        m_Seed = newSeed;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String useLaplaceTipText() {    return "Whether counts at leaves are smoothed based on Laplace.";  }  /**   * Get the value of useLaplace.   *   * @return Value of useLaplace.   */  public boolean getUseLaplace() {        return m_useLaplace;  }    /**   * Set the value of useLaplace.   *   * @param newuseLaplace Value to assign to useLaplace.   */  public void setUseLaplace(boolean newuseLaplace) {        m_useLaplace = newuseLaplace;  }    /**   * Returns a description of the classifier.   *    * @return a description of the classifier   */  public String toString() {    if (m_root == null) {      return "No classifier built";    }    if (m_unpruned)      return "J48 unpruned tree\n------------------\n" + m_root.toString();    else      return "J48 pruned tree\n------------------\n" + m_root.toString();  }  /**   * Returns a superconcise version of the model   *    * @return a summary 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 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();  }  /**   * 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 the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String unprunedTipText() {    return "Whether pruning is performed.";  }  /**   * Get the value of unpruned.   *   * @return Value of unpruned.   */  public boolean getUnpruned() {        return m_unpruned;  }    /**   * Set the value of unpruned. Turns reduced-error pruning   * off if set.   * @param v  Value to assign to unpruned.   */  public void setUnpruned(boolean v) {    if (v) {      m_reducedErrorPruning = false;    }    m_unpruned = v;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String confidenceFactorTipText() {    return "The confidence factor used for pruning (smaller values incur "      + "more pruning).";  }    /**   * Get the value of CF.   *   * @return Value of CF.   */  public float getConfidenceFactor() {        return m_CF;  }    /**   * Set the value of CF.   *   * @param v  Value to assign to CF.   */  public void setConfidenceFactor(float v) {        m_CF = v;  }     /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String minNumObjTipText() {    return "The minimum number of instances per leaf.";  }  /**   * Get the value of minNumObj.   *   * @return Value of minNumObj.   */  public int getMinNumObj() {        return m_minNumObj;  }    /**   * Set the value of minNumObj.   *   * @param v  Value to assign to minNumObj.   */  public void setMinNumObj(int v) {        m_minNumObj = v;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String reducedErrorPruningTipText() {    return "Whether reduced-error pruning is used instead of C.4.5 pruning.";  }   /**   * Get the value of reducedErrorPruning.    *   * @return Value of reducedErrorPruning.   */  public boolean getReducedErrorPruning() {        return m_reducedErrorPruning;  }    /**   * Set the value of reducedErrorPruning. Turns   * unpruned trees off if set.   *   * @param v  Value to assign to reducedErrorPruning.   */  public void setReducedErrorPruning(boolean v) {        if (v) {      m_unpruned = false;    }    m_reducedErrorPruning = v;  }    /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String numFoldsTipText() {    return "Determines the amount of data used for reduced-error pruning. "      + " One fold is used for pruning, the rest for growing the tree.";  }  /**   * Get the value of numFolds.   *   * @return Value of numFolds.   */  public int getNumFolds() {        return m_numFolds;  }    /**   * Set the value of numFolds.   *   * @param v  Value to assign to numFolds.   */  public void setNumFolds(int v) {        m_numFolds = v;  }   /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String binarySplitsTipText() {    return "Whether to use binary splits on nominal attributes when "      + "building the trees.";  }    /**   * Get the value of binarySplits.   *   * @return Value of binarySplits.   */  public boolean getBinarySplits() {        return m_binarySplits;  }    /**   * Set the value of binarySplits.   *   * @param v  Value to assign to binarySplits.   */  public void setBinarySplits(boolean v) {        m_binarySplits = v;  }    /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String subtreeRaisingTipText() {    return "Whether to consider the subtree raising operation when pruning.";  }   /**   * Get the value of subtreeRaising.   *   * @return Value of subtreeRaising.   */  public boolean getSubtreeRaising() {        return m_subtreeRaising;  }    /**   * Set the value of subtreeRaising.   *   * @param v  Value to assign to subtreeRaising.   */  public void setSubtreeRaising(boolean v) {        m_subtreeRaising = v;  }  /**   * Returns the tip text for this property   * @return tip text for this property suitable for   * displaying in the explorer/experimenter gui   */  public String saveInstanceDataTipText() {    return "Whether to save the training data for visualization.";  }  /**   * Check whether instance data is to be saved.   *   * @return true if instance data is saved   */  public boolean getSaveInstanceData() {        return m_noCleanup;  }    /**   * Set whether instance data is to be saved.   * @param v true if instance data is to be saved   */  public void setSaveInstanceData(boolean v) {        m_noCleanup = v;  }   /**   * Main method for testing this class   *   * @param argv the commandline options   */  public static void main(String [] argv){    runClassifier(new J48(), argv);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
东方欧美亚洲色图在线| 久久精品免费观看| 日韩电影免费在线观看网站| 激情亚洲综合在线| 成人免费视频caoporn| 一本到三区不卡视频| 日韩精品一区二区在线观看| 国产精品电影一区二区| 日韩制服丝袜av| 成人中文字幕电影| 制服丝袜日韩国产| 精品久久久久久久久久久院品网| 欧美极品美女视频| 日韩中文字幕一区二区三区| 国产传媒一区在线| 欧美亚洲综合网| 欧美福利电影网| 欧美—级在线免费片| 美女一区二区久久| 欧美日韩视频在线观看一区二区三区| 国产三级精品三级在线专区| 亚洲国产精品尤物yw在线观看| 丰满亚洲少妇av| 精品国产91久久久久久久妲己| 亚洲成在人线在线播放| 色综合中文字幕| 欧美高清在线视频| 国产精品66部| www激情久久| 九一久久久久久| 日韩欧美在线1卡| 日韩精品每日更新| 欧美午夜片在线观看| 亚洲色图清纯唯美| 成人性色生活片| 国产日韩精品一区二区三区在线| 免费观看在线综合| 91精品国产欧美一区二区| 午夜精品成人在线视频| 欧美日韩国产综合草草| 亚洲成a人在线观看| 91激情五月电影| 亚洲精品成人少妇| 一本一道久久a久久精品综合蜜臀| 中文字幕中文在线不卡住| 粉嫩一区二区三区性色av| 国产婷婷色一区二区三区在线| 狠狠色综合色综合网络| 欧美一卡2卡三卡4卡5免费| 日韩电影在线观看一区| 欧美久久久久久久久| 日韩国产欧美在线播放| 91麻豆精品国产91久久久更新时间| 三级欧美在线一区| 91精品国产91久久综合桃花| 日韩综合一区二区| 日韩亚洲电影在线| 尤物在线观看一区| 在线免费观看不卡av| 亚洲天堂免费看| 欧美电影免费观看高清完整版在线观看| 亚洲国产精品久久不卡毛片 | 久久久久久久久99精品| 国产乱人伦偷精品视频不卡| 日本一区二区三区四区在线视频| av亚洲精华国产精华精华 | 亚洲欧美色综合| 欧美亚洲免费在线一区| 日日夜夜一区二区| 久久蜜桃一区二区| www.亚洲在线| 亚洲bt欧美bt精品| 久久免费偷拍视频| 97久久超碰国产精品电影| 亚洲一二三四区不卡| 在线综合视频播放| 国产成人精品免费在线| 亚洲精品国产a| 日韩欧美国产一二三区| 国产精品小仙女| 亚洲男女毛片无遮挡| 欧美片在线播放| 国产高清不卡一区二区| 一区二区三区日韩在线观看| 日韩免费视频一区二区| 成人av电影在线网| 日韩影院在线观看| 国产精品美女久久久久aⅴ国产馆| 91女人视频在线观看| 美女在线观看视频一区二区| 亚洲特级片在线| 91麻豆精品91久久久久同性| 成人高清在线视频| 日本sm残虐另类| 亚洲男女一区二区三区| 久久亚洲综合色一区二区三区| 成人av动漫在线| 国产在线精品一区在线观看麻豆| 亚洲丝袜美腿综合| 久久久精品tv| 欧美精品久久久久久久多人混战 | 91.xcao| 99久免费精品视频在线观看| 日本成人在线视频网站| 中文字幕日本乱码精品影院| 日韩美女一区二区三区| 色婷婷综合久久久中文一区二区| 韩国一区二区三区| 一区二区三区精密机械公司| 国产日韩欧美激情| 精品国产麻豆免费人成网站| 欧美日韩在线三级| 91在线视频网址| 国产91色综合久久免费分享| 蜜桃久久久久久| 亚洲第一综合色| 亚洲天堂网中文字| 欧美激情综合网| 亚洲精品一区二区三区99| 5858s免费视频成人| 欧美在线播放高清精品| 91麻豆.com| 成人app在线| 国产v日产∨综合v精品视频| 狠狠狠色丁香婷婷综合激情 | 精品一区二区综合| 日韩av电影免费观看高清完整版 | 日韩美女在线视频| 日韩欧美视频在线| 日韩欧美视频一区| 日韩一区二区视频| 日韩欧美精品三级| 日韩午夜电影av| 日韩一区二区麻豆国产| 欧美精品乱码久久久久久| 欧美日韩国产成人在线91| 欧美视频你懂的| 欧美精品一卡二卡| 91麻豆精品国产91久久久更新时间| 欧美日韩国产综合草草| 欧美老年两性高潮| 日韩一区二区电影| 精品国产露脸精彩对白| 久久久久久毛片| 中文字幕欧美区| 亚洲视频在线观看一区| 亚洲靠逼com| 午夜日韩在线电影| 男男成人高潮片免费网站| 日本不卡高清视频| 国产在线一区观看| 国产精品一二三四区| 波波电影院一区二区三区| 欧亚洲嫩模精品一区三区| 色婷婷一区二区| 欧美日韩免费电影| 日韩视频中午一区| 国产欧美一二三区| 国产精品素人一区二区| 一区二区三区四区在线免费观看 | 亚洲猫色日本管| 亚洲成av人影院在线观看网| 五月婷婷另类国产| 狠狠色综合日日| av一二三不卡影片| 在线播放亚洲一区| 久久精品日产第一区二区三区高清版| 国产精品系列在线| 亚洲国产中文字幕在线视频综合 | 中文字幕成人网| 亚洲午夜视频在线| 久久爱www久久做| 成人黄色电影在线 | 日韩视频中午一区| 中文字幕一区视频| 美女脱光内衣内裤视频久久影院| 不卡免费追剧大全电视剧网站| 欧美午夜片在线观看| 欧美精品一区二| 亚洲美女屁股眼交| 韩国精品一区二区| 欧美系列在线观看| 国产精品网曝门| 美女网站色91| 欧美三区免费完整视频在线观看| 久久色成人在线| 午夜欧美大尺度福利影院在线看 | 精品夜夜嗨av一区二区三区| 一本久久综合亚洲鲁鲁五月天| 欧美成人伊人久久综合网| 亚洲乱码国产乱码精品精小说| 另类小说图片综合网| 91九色02白丝porn| 国产精品欧美一区喷水| 狠狠色狠狠色综合日日91app| 欧美日精品一区视频| 亚洲人一二三区| 国产91精品入口| 精品欧美一区二区在线观看| 亚洲成人黄色影院|