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

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

?? j48.java

?? 數據挖掘分類算法:J48源代碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
      } 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;  }    /**   * Returns the revision string.   *    * @return		the revision   */  public String getRevision() {    return RevisionUtils.extract("$Revision: 1.9 $");  }   /**   * 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一区二区天堂| 色94色欧美sute亚洲线路一ni| 成人免费观看男女羞羞视频| 国产成人免费av在线| av网站免费线看精品| 色婷婷狠狠综合| 欧美福利视频一区| 精品国产1区二区| 亚洲视频一区在线| 久久国产视频网| av激情亚洲男人天堂| 欧美日韩国产小视频| 久久免费电影网| 亚洲综合色噜噜狠狠| 国内精品伊人久久久久影院对白| 懂色av中文一区二区三区 | 成人av在线影院| 欧美片网站yy| 成人欧美一区二区三区在线播放| 亚洲va欧美va天堂v国产综合| 国产成人亚洲综合色影视| 91精品福利视频| 婷婷激情综合网| 成人av高清在线| 国产免费观看久久| 视频在线观看国产精品| av一本久道久久综合久久鬼色| 日韩一区二区三区视频在线| 悠悠色在线精品| 99riav久久精品riav| 久久久91精品国产一区二区三区| 亚洲成人av中文| 欧美日韩你懂的| 亚洲国产日韩a在线播放| 91蜜桃免费观看视频| 亚洲国产高清不卡| 成人一区二区三区在线观看| 久久麻豆一区二区| 国产精品夜夜嗨| 国产精品免费视频一区| 成人免费毛片aaaaa**| 亚洲麻豆国产自偷在线| 9i看片成人免费高清| 亚洲美女免费在线| 91福利视频网站| 亚洲国产欧美在线| 欧美一区二区啪啪| 国内偷窥港台综合视频在线播放| 国产亚洲精品中文字幕| 成人avav在线| 亚洲福利一区二区三区| 91精品国产综合久久蜜臀| 裸体在线国模精品偷拍| 国产日韩欧美不卡在线| 91丨porny丨在线| 香港成人在线视频| 国产亚洲欧美日韩俺去了| 99久久精品久久久久久清纯| 午夜激情久久久| 久久久高清一区二区三区| 在线精品视频小说1| 久久精品国产在热久久| 亚洲美女电影在线| 精品日韩欧美一区二区| 色老汉一区二区三区| 九色porny丨国产精品| 亚洲码国产岛国毛片在线| 欧美成人女星排行榜| 99久久婷婷国产综合精品| 日日夜夜免费精品| 一区二区三区四区激情| 国产午夜精品理论片a级大结局 | 亚洲码国产岛国毛片在线| 精品国内二区三区| 欧美日韩中文字幕精品| 成人国产精品免费观看| 久久精品国产久精国产| 亚洲自拍偷拍图区| 国产精品电影一区二区| 国产肉丝袜一区二区| 日韩一区二区在线观看视频 | 在线观看亚洲精品| 国产精品亚洲一区二区三区在线| 午夜日韩在线观看| 亚洲激情一二三区| 亚洲桃色在线一区| 亚洲国产精品ⅴa在线观看| 久久久久久97三级| 日韩一区二区在线看| 日韩欧美电影在线| 日韩一区二区三区免费观看| 欧美猛男男办公室激情| 欧美日韩精品三区| 91精品国产高清一区二区三区| 欧美日韩国产一级| 欧美一区午夜精品| 精品va天堂亚洲国产| 久久精品视频一区二区三区| 亚洲日本在线天堂| 亚洲黄网站在线观看| 亚洲va韩国va欧美va| 日韩精品三区四区| 精品一二三四区| 风间由美性色一区二区三区| 色呦呦网站一区| 91精品在线观看入口| 日韩欧美久久久| 中文字幕国产一区二区| 亚洲欧洲日产国码二区| 亚洲国产中文字幕在线视频综合| 视频一区二区三区中文字幕| 狠狠色2019综合网| 成人aa视频在线观看| 欧美精选一区二区| 国产欧美视频一区二区三区| 一区二区三区精品视频在线| 免播放器亚洲一区| 97久久精品人人做人人爽 | 秋霞国产午夜精品免费视频| 黄色小说综合网站| 欧美色图天堂网| 国产欧美精品国产国产专区 | 国产精品888| 欧美日韩高清影院| 国产精品视频线看| 久久精品国产在热久久| 欧美午夜精品一区| 国产精品久久久久久福利一牛影视| 亚洲成人一区二区| 91论坛在线播放| 337p粉嫩大胆色噜噜噜噜亚洲| 一区二区三区国产豹纹内裤在线| 亚洲福利一区二区三区| 蜜臂av日日欢夜夜爽一区| 欧美熟乱第一页| 亚洲男人电影天堂| 99久久久久久99| 亚洲视频一区二区免费在线观看| 久久99久久精品欧美| 91精品国产入口| 七七婷婷婷婷精品国产| 欧美性色欧美a在线播放| 一区二区三区四区亚洲| 一道本成人在线| 一区二区成人在线视频| 在线免费亚洲电影| 亚洲妇女屁股眼交7| 欧美丝袜自拍制服另类| 国产中文一区二区三区| 久久久蜜桃精品| 国产91精品在线观看| 中文欧美字幕免费| 91丝袜美腿高跟国产极品老师 | 婷婷国产v国产偷v亚洲高清| 精品视频在线免费看| 日本美女一区二区三区视频| 在线电影院国产精品| 紧缚奴在线一区二区三区| 国产片一区二区| 97se狠狠狠综合亚洲狠狠| 一区二区三区不卡视频| 欧美日韩亚洲不卡| 国产精品一二三四| 一区二区三区免费网站| 日韩欧美一区在线观看| 粉嫩欧美一区二区三区高清影视 | 美女网站在线免费欧美精品| 久久天天做天天爱综合色| 91麻豆精品秘密| 久久精品免费看| 亚洲乱码国产乱码精品精98午夜 | 亚洲老妇xxxxxx| 日韩欧美你懂的| 在线观看日韩av先锋影音电影院| 亚洲小说春色综合另类电影| 欧美精品一区二区三区一线天视频| 成人精品亚洲人成在线| 日韩精品一二三| 亚洲日本韩国一区| 久久女同互慰一区二区三区| 欧美性欧美巨大黑白大战| 国产一区二区影院| 琪琪久久久久日韩精品| 一区二区三区日韩欧美精品| 久久九九99视频| 日韩亚洲欧美高清| 欧美色区777第一页| 一本色道久久加勒比精品| 午夜视频在线观看一区二区三区| 精品久久五月天| 日韩欧美一级片| 欧美一区二区三区人| 欧美专区亚洲专区| 欧美熟乱第一页| 欧美午夜精品一区| 精品视频在线免费看| 日本韩国精品在线| 91麻豆精品在线观看| 一本色道a无线码一区v|