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

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

?? tddtinducer.java

?? 自己編的ID3算法很小但效果很好
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
   cgraph = aCgraph; // save this until we actually construct the tree.
   decisionTreeCat = null;
   totalInstWeight = -1; // illegal value.

   // this is arbitrary - no schema yet
   haveContinuousAttributes = false;

   tddtOptions.maxLevel = DEFAULT_MAX_LEVEL;
   tddtOptions.lowerBoundMinSplitWeight = DEFAULT_LB_MSW;
   tddtOptions.upperBoundMinSplitWeight = DEFAULT_UB_MSW;
   tddtOptions.minSplitWeightPercent = DEFAULT_MS_WP;
   tddtOptions.nominalLBoundOnly = DEFAULT_NOM_LBO;
   tddtOptions.debug = DEFAULT_DEBUG;
   tddtOptions.unknownEdges = DEFAULT_UNKNOWN_EDGES;
   tddtOptions.splitScoreCriterion =  SplitScore.defaultSplitScoreCriterion;
   tddtOptions.emptyNodeParentDist = DEFAULT_EMPTY_NODE_PARENT_DIST;
   tddtOptions.parentTieBreaking = DEFAULT_PARENT_TIE_BREAKING;
   tddtOptions.pruningMethod = DEFAULT_PRUNING_METHOD;
   tddtOptions.pruningBranchReplacement = DEFAULT_PRUNING_BRANCH_REPLACEMENT;
   tddtOptions.adjustThresholds = DEFAULT_ADJUST_THRESHOLDS;
   tddtOptions.pruningFactor = DEFAULT_PRUNING_FACTOR;
   tddtOptions.contMDLAdjust = DEFAULT_CONT_MDL_ADJUST;
   tddtOptions.smoothInst = DEFAULT_SMOOTH_INST;
   tddtOptions.smoothFactor = DEFAULT_SMOOTH_FACTOR;
   tddtOptions.leafDistType = defaultLeafDistType;
   tddtOptions.MEstimateFactor = DEFAULT_LEAF_M_ESTIMATE_FACTOR;
   tddtOptions.evidenceFactor = DEFAULT_LEAF_EVIDENCE_FACTOR;
   tddtOptions.evaluationMetric = DEFAULT_EVALUATION_METRIC;
}

   /** Copy constructor.
    * @param source	The TDDTInducer that is being copied.
    */
   public TDDTInducer(TDDTInducer source)
   {
      super(source);
      cgraph = null;
      decisionTreeCat = null;
      set_level(source.get_level());
      copy_options(source);
      set_total_inst_weight(source.get_total_inst_weight());

      haveContinuousAttributes = source.haveContinuousAttributes;
   }

   /** Sets the level of this TDDTInducer.
    * @param lvl The level to be set.
    */
   public void set_level(int lvl) { level = lvl;}

   /** Returns the level set for this TDDTInducer.
    * @return This TDDTInducer's level setting.
    */
   public int get_level() {return level;}

   /** Sets the total weight of instances in the data set this inducer is currently
    * using.
    * @param wt	The weight that should be set.
    */
   protected void set_total_inst_weight(double wt){ totalInstWeight = wt;}

   /** Returns the total weight of instances in the data set this inducer is using.
    * @return The weight of the instances.
    */
   protected double get_total_inst_weight(){ return totalInstWeight;}

   /** Returns the maximum level which may be set for a TDDTInducer.
    * @return The maximum weight of instances.
    */
   public int get_max_level(){return tddtOptions.maxLevel;}

   /** Sets the maximum level for a TDDTInducer.
    * @param level The new maximum level.
    */
   public void set_max_level(int level){tddtOptions.maxLevel = level;}

   /** Sets the lower bound for minimum split weight.
    * @param val The new lower bound.
    */
   public void set_lower_bound_min_split_weight(double val)
      {  tddtOptions.lowerBoundMinSplitWeight = val; }

   /** Returns the lower bound for minimum split weight.
    * @return The lower bound for minimum split weight.
    */
   public double get_lower_bound_min_split_weight()
      {  return tddtOptions.lowerBoundMinSplitWeight; }

   /** Sets the upper bound for minimum split weight.
    * @param val The new upper bound.
    */
   public void set_upper_bound_min_split_weight(double val)
      {   tddtOptions.upperBoundMinSplitWeight = val; }

   /** Returns the upper bound for minimum split weight.
    * @return The upper bound for minimum split weight.
    */
   public double get_upper_bound_min_split_weight()
      {   return tddtOptions.upperBoundMinSplitWeight; }

   /** Sets a new percentage value for minimum split weight.
    * @param val The new percentage.
    */
   public void set_min_split_weight_percent(double val)
      {   tddtOptions.minSplitWeightPercent = val; }

   /** Returns the percentage value for minimum split weight.
    * @return The percentage value for minimum split weight.
    */
   public double get_min_split_weight_percent()
      {   return tddtOptions.minSplitWeightPercent; }

   /** Sets which lower bounds are used for nominal attributes. TRUE indicates
    * lowerBoundMinSplitWeight, upperBoundMinSplitWeight, and minSplitWeightPercent
    * are not used for setting minimum instances in a node for nominal attributes,
    * FALSE indicates they will be used.
    * @param val The value for the boolean option.
    */
   public void set_nominal_lbound_only(boolean val)
      { tddtOptions.nominalLBoundOnly = val; }

   /** Returns TRUE if lower bounds are to be used for nominal values, FALSE otherwise.
    * @return TRUE indicates lowerBoundMinSplitWeight, upperBoundMinSplitWeight, and
    * minSplitWeightPercent are not used for setting minimum instances in a node for
    * nominal attributes, FALSE indicates they will be used.
    */
   public boolean get_nominal_lbound_only() 
      { return tddtOptions.nominalLBoundOnly; }

   /** Sets whether unknown categories are allowable for edges if the decision tree.
    * @param val TRUE if unknown edges are allowable, FALSE otherwise.
    */
   public void set_unknown_edges(boolean val) {tddtOptions.unknownEdges = val;}

   /** Returns whether unknown edges are allowed.
    * @return TRUE if unknown edges are allowable, FALSE otherwise.
    */
   public boolean get_unknown_edges() { return tddtOptions.unknownEdges; }

   /** Return the criterion used for scoring.
    * @return The split score criterion.
    */
   public byte get_split_score_criterion() 
      {return tddtOptions.splitScoreCriterion; }

   /** Sets the criterion used for split scoring.
    * @param val The new split score criterion.
    */
   public void set_split_score_criterion(byte val)
      {tddtOptions.splitScoreCriterion = val; }

   /** Sets whether an empty node should have the parent's distribution.
    * @param b TRUE indicates an empty node should have the parent's distribution,
    * FALSE otherwise.
    */
   public void set_empty_node_parent_dist(boolean b)
      {tddtOptions.emptyNodeParentDist = b; }

   /** Returns whether an empty node should have the parent's distribution.
    * @return TRUE indicates an empty node should have the parent's distribution,
    * FALSE otherwise.
    */
   public boolean get_empty_node_parent_dist()
      {return tddtOptions.emptyNodeParentDist; }

   /** Set the tie breaking order for distribution ties.
    * @param b the new order for breaking distribution ties.
    */
   public void set_parent_tie_breaking(boolean b)
      {tddtOptions.parentTieBreaking = b; }

   /** Get the order for breaking distribution ties.
    * @return Order for breaking distribution ties.
    */
   public boolean get_parent_tie_breaking()
      {return tddtOptions.parentTieBreaking; }

    /** Sets the Pruning method to be used.
     * @param pM The Pruning method to be used. If the value is not NONE and pruning_factor is 0,
     * then a node will be made a leaf when its (potential) children do not improve
     * the error count.
     */
   public void set_pruning_method(byte pM)
      {tddtOptions.pruningMethod = pM; }

   /** Returns the Pruning method to be used.
    * @return The Pruning method used.
    */
   public byte get_pruning_method()
      {return tddtOptions.pruningMethod; }

   /** Sets whether pruning should allow replacing a node with its largest subtree.
    * @param b TRUE indicates pruning should allow replacing a node with its largest subtree,
    * FALSE otherwise.
    */
   public void set_pruning_branch_replacement(boolean b)
      {tddtOptions.pruningBranchReplacement = b; }

   /** Returns whether pruning should allow replacing a node with its largest subtree.
    * @return TRUE indicates pruning should allow replacing a node with its largest subtree,
    * FALSE otherwise.
    */
   public boolean get_pruning_branch_replacement() 
      {return tddtOptions.pruningBranchReplacement; }

   /** Sets whether threshold should be adjusted to equal instance values.
    * @param b TRUE indicates threshold should be adjusted to equal instance values, FALSE otherwise.
    */
   public void set_adjust_thresholds(boolean b)
      {tddtOptions.adjustThresholds = b; }

   /** Returns whether threshold should be adjusted to equal instance values.
    * @return TRUE indicates threshold should be adjusted to equal instance values, FALSE otherwise.
    */
   public boolean get_adjust_thresholds() 
      {return tddtOptions.adjustThresholds; }

   /** Sets the factor of how much pruning should be done.
    * @param val Factor of how much pruning should be done. High values indicate more pruning.
    */
   public void set_pruning_factor(double val)
      { tddtOptions.pruningFactor = val; }

   /** Returns the factor of how much pruning should be done.
    * @return Factor of how much pruning should be done. High values indicate more pruning.
    */
   public double get_pruning_factor() 
      { return tddtOptions.pruningFactor; }

   /** Returns the number of thresholds on either side to use for smoothing.
    * @return Number of thresholds on either side to use for smoothing; 0 for no smoothing.
    */
   public int get_smooth_inst() { return tddtOptions.smoothInst; }

   /** Sets the number of thresholds on either side to use for smoothing.
    * @param inst Number of thresholds on either side to use for smoothing; 0 for no smoothing.
    */
   public void set_smooth_inst(int inst) { tddtOptions.smoothInst = inst; }

   /** Returns the exponential factor for smoothing.
    * @return The exponential factor for smoothing.
    */
   public double get_smooth_factor() { return tddtOptions.smoothFactor; }

    /** Sets the exponential factor for smoothing.
     * @param factor The new exponential factor for smoothing.
     */
   public void set_smooth_factor(double factor) { tddtOptions.smoothFactor = factor; }
			   
   /** Sets whether the Minimum Description Length Adjustment for continuous attributes
    * should be applied to mutual info.
    * @param val TRUE if the Minimum Description Length Adjustment for continuous attributes should be applied to mutual info, FALSE otherwise.
    */
   public void set_cont_mdl_adjust(boolean val)
      { tddtOptions.contMDLAdjust = val; }

   /** Returns whether Minimum Description Length Adjustment for continuous attributes should be applied to mutual info.
    * @return TRUE if the Minimum Description Length Adjustment for continuous attributes should
    *     * be applied to mutual info, FALSE otherwise.
    */
   public boolean get_cont_mdl_adjust() 
      { return tddtOptions.contMDLAdjust; }

   /** Sets the type of distribution to build at leaves.
    * @param type The type of distribution to build at leaves.
    */
   public void set_leaf_dist_type(byte type)
      { tddtOptions.leafDistType = type; }

   /** Returns the type of distribution to build at leaves.
    * @return The type of distribution to build at leaves.
    */
   public byte get_leaf_dist_type() 
      { return tddtOptions.leafDistType; }

   /** Sets the m-estimate factor for laplace.
    * @param factor The new m-estimate factor for laplace.
    */
   public void set_m_estimate_factor(double factor)
      { tddtOptions.MEstimateFactor = factor; }

   /** Returns the m-estimate factor for laplace.
    * @return The m-estimate factor for laplace.
    */
   public double get_m_estimate_factor() { return tddtOptions.MEstimateFactor; }

   /** Sets the evidence correction factor.
    * @param factor The new evidence correction factor.
    */
   public void set_evidence_factor(double factor)
      { tddtOptions.evidenceFactor = factor; }

   /** Returns the evidence correction factor.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美一级精品久久| 亚洲精品你懂的| 欧美老肥妇做.爰bbww视频| 国产精品国产三级国产普通话三级 | 一区二区在线观看视频| 成人污污视频在线观看| 亚洲一区二区偷拍精品| 久久久精品一品道一区| 9191国产精品| 色菇凉天天综合网| a美女胸又www黄视频久久| 视频一区视频二区在线观看| 亚洲蜜桃精久久久久久久| 国产欧美日韩精品一区| 91麻豆精品国产综合久久久久久| 成人精品免费网站| 国产精品一品视频| 国内精品视频666| 国产一区二区精品在线观看| 奇米亚洲午夜久久精品| 日本美女一区二区三区视频| 天天操天天干天天综合网| 亚洲精品亚洲人成人网在线播放| 欧美国产日本韩| 国产日韩欧美高清在线| 国产日韩欧美一区二区三区乱码| 国产一区二区三区日韩 | 久久99精品久久久久久久久久久久| 在线这里只有精品| 欧美性高清videossexo| 色噜噜狠狠色综合欧洲selulu| 色婷婷亚洲精品| 欧美另类久久久品| 日韩欧美中文一区| 国产精品系列在线| 一区二区三区欧美日| 一区二区三区在线视频观看58| 国产区在线观看成人精品| 欧美激情一区二区三区四区| 亚洲一区二区三区爽爽爽爽爽| 风间由美一区二区av101| 日韩一级高清毛片| 国模套图日韩精品一区二区| 在线中文字幕不卡| 亚洲国产精品影院| 欧美日韩一区精品| 一区二区三国产精华液| 国产伦精品一区二区三区在线观看 | 欧美丝袜丝交足nylons图片| 成人欧美一区二区三区小说| 精品在线一区二区| 欧美一级高清大全免费观看| 亚洲国产成人午夜在线一区| 亚洲在线一区二区三区| 色天天综合色天天久久| 午夜国产精品一区| 午夜久久久久久久久久一区二区| 久久久美女毛片| 亚洲精品ww久久久久久p站| 麻豆久久一区二区| 中文字幕欧美日韩一区| 亚洲午夜精品网| 91久久人澡人人添人人爽欧美| 精品国产髙清在线看国产毛片 | 99视频热这里只有精品免费| 久久亚洲精品国产精品紫薇| 日本不卡不码高清免费观看| 欧美日韩另类一区| 一区二区高清在线| 色噜噜狠狠成人中文综合| 综合中文字幕亚洲| 成人国产精品免费观看动漫| 欧美视频一二三区| 亚洲不卡一区二区三区| 精品少妇一区二区三区日产乱码| 国产成人免费视频一区| 亚洲欧美日韩国产中文在线| 欧美日本一区二区三区四区| 麻豆精品在线播放| 国产欧美一区二区三区在线看蜜臀| 国产91精品一区二区麻豆网站| 亚洲日本韩国一区| 欧美美女直播网站| 粉嫩欧美一区二区三区高清影视 | 久久午夜色播影院免费高清| 最新热久久免费视频| 欧洲一区二区三区在线| 丁香亚洲综合激情啪啪综合| 中文字幕一区二区三区av| 欧美激情综合在线| 亚洲婷婷综合色高清在线| 美国精品在线观看| 国产精品美女一区二区| 96av麻豆蜜桃一区二区| 国产在线一区观看| 久久成人免费电影| av电影在线观看完整版一区二区 | 大尺度一区二区| 欧美福利一区二区| 日韩一区二区三区在线视频| 亚瑟在线精品视频| 国产精品资源在线看| 精品一区二区日韩| 欧美日韩一区二区三区四区| 成人av在线播放网址| 成人黄色小视频| eeuss鲁片一区二区三区| 亚洲成a天堂v人片| 亚洲综合自拍偷拍| 黄色小说综合网站| 香蕉成人啪国产精品视频综合网| 亚洲主播在线播放| 视频一区视频二区中文| 久久成人麻豆午夜电影| 国产成人免费网站| 亚洲成人777| 久久99热狠狠色一区二区| 久久丁香综合五月国产三级网站| 日韩欧美国产电影| 欧美一级日韩一级| 国产午夜亚洲精品理论片色戒 | 国产91清纯白嫩初高中在线观看| 欧美电视剧免费全集观看| 国产精品理伦片| 国产精品成人免费精品自在线观看 | 亚洲啪啪综合av一区二区三区| 91精品国产91热久久久做人人| 色8久久人人97超碰香蕉987| 国产亚洲自拍一区| 亚洲宅男天堂在线观看无病毒| 欧美mv和日韩mv的网站| 久久国内精品视频| 欧美精品日韩一区| 国产精品每日更新在线播放网址| 欧美特级限制片免费在线观看| 色就色 综合激情| 日韩精品一区二区三区视频| 26uuu亚洲| 天天av天天翘天天综合网| 欧美va天堂va视频va在线| 视频一区中文字幕| 欧美三片在线视频观看| 国产一区二区导航在线播放| 91看片淫黄大片一级| 日本一区二区免费在线| 911精品产国品一二三产区| 国产亚洲制服色| 五月天视频一区| av在线这里只有精品| 久久人人97超碰com| 91蝌蚪porny九色| 日韩av不卡在线观看| 国产精品久久久久aaaa| 欧美va亚洲va香蕉在线| 欧美精品丝袜中出| 97久久精品人人爽人人爽蜜臀| 久久精品国产亚洲5555| 亚洲国产日韩综合久久精品| 国产精品国产三级国产三级人妇 | 亚洲欧美日韩国产成人精品影院 | 中文字幕日韩一区| 欧美白人最猛性xxxxx69交| 精品污污网站免费看| 在线视频综合导航| 美女国产一区二区三区| 六月丁香婷婷色狠狠久久| 精品一二三四在线| 依依成人精品视频| 国产美女在线精品| 日韩一区二区不卡| 成人av免费在线观看| 一区二区三区四区视频精品免费| 在线免费观看日本一区| 美女精品自拍一二三四| 国产精品成人免费精品自在线观看| 在线观看一区二区精品视频| 久久久国产精品不卡| 国产一区二区久久| 综合久久久久久| 欧美精品三级日韩久久| 日本成人中文字幕| 国产精品久久久久久亚洲毛片| 日韩亚洲国产中文字幕欧美| 欧美在线视频全部完| 99久久精品情趣| 久草中文综合在线| 亚洲高清久久久| 亚洲午夜视频在线| 亚洲一区二区精品视频| 成人免费在线播放视频| 中文天堂在线一区| 国产精品二区一区二区aⅴ污介绍| 久久网站热最新地址| 日韩一区二区三区三四区视频在线观看| av不卡在线观看| 成人涩涩免费视频| 成年人国产精品| 色综合久久中文字幕| 99久久国产综合精品色伊| 成人午夜av电影|