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

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

?? tddtinducer.java

?? 用JAVA實現的C4.5算法
?? 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一区二区三区免费野_久草精品视频
99国产精品一区| 日本视频一区二区| 不卡大黄网站免费看| 国产日产欧产精品推荐色 | 欧美精品vⅰdeose4hd| 粉嫩av亚洲一区二区图片| 精品国产乱码久久| 国产69精品久久99不卡| 中文字幕视频一区| 在线视频亚洲一区| 亚洲成a人片综合在线| 4hu四虎永久在线影院成人| 麻豆91在线播放| 久久亚洲私人国产精品va媚药| 国内精品视频666| 国产精品私人影院| 色狠狠av一区二区三区| 热久久久久久久| 国产欧美日韩激情| 91久久线看在观草草青青| 免费视频最近日韩| 国产欧美日韩在线| 欧美性猛交一区二区三区精品| 美女网站色91| 亚洲欧洲日产国产综合网| 欧美日韩国产影片| 国产乱码精品一区二区三区av| 亚洲日本乱码在线观看| 欧美一区二区在线观看| 成人精品视频.| 午夜婷婷国产麻豆精品| 欧美国产乱子伦| 欧美人狂配大交3d怪物一区| 成人免费毛片app| 午夜av电影一区| 中国色在线观看另类| 欧美久久免费观看| 国产大片一区二区| 日韩av中文在线观看| 一区免费观看视频| 精品入口麻豆88视频| 色婷婷久久久亚洲一区二区三区| 精品一区二区日韩| 亚洲一区二区三区三| 久久精子c满五个校花| 欧美日韩国产另类一区| 99精品视频在线免费观看| 奇米亚洲午夜久久精品| 亚洲综合网站在线观看| 国产区在线观看成人精品| 欧美军同video69gay| av亚洲精华国产精华精华| 国产在线视频一区二区| 亚洲成人综合在线| 亚洲日本一区二区| 国产精品欧美极品| 久久精品夜夜夜夜久久| 日韩精品一区二区三区蜜臀| 欧美三级资源在线| 国产日产精品一区| 精品三级在线观看| 日韩免费在线观看| 欧美另类高清zo欧美| 色先锋资源久久综合| 成人午夜免费视频| 国产成人综合在线观看| 精品一区二区免费在线观看| 美女脱光内衣内裤视频久久网站| 亚洲资源中文字幕| 亚洲综合视频网| 亚洲欧美日韩国产成人精品影院| 中文字幕国产精品一区二区| 久久精品人人做人人综合| 精品国免费一区二区三区| 日韩一区二区在线免费观看| 欧美精品在线观看播放| 欧美日本国产一区| 欧美区在线观看| 制服丝袜日韩国产| 欧美一区二区网站| 91精品国产欧美一区二区18| 日韩一卡二卡三卡国产欧美| 日韩午夜在线观看视频| 日韩三区在线观看| 日韩欧美在线影院| 亚洲精品一线二线三线| 久久中文娱乐网| 国产色一区二区| 国产精品久久久久久久久免费樱桃 | 欧美精品色一区二区三区| 欧美三日本三级三级在线播放| 在线观看免费一区| 欧美电影在线免费观看| 91.com视频| 久久亚洲精品小早川怜子| 国产亚洲精久久久久久| 亚洲欧美综合另类在线卡通| 一区二区三区日韩欧美精品| 亚洲一级二级在线| 视频一区二区欧美| 久久精品国产亚洲aⅴ| 国产一区二区三区av电影 | 伊人开心综合网| 亚洲国产综合91精品麻豆| 蜜臀av在线播放一区二区三区| 国产永久精品大片wwwapp| 国产99一区视频免费| 91浏览器入口在线观看| 欧美日本一道本在线视频| 精品成a人在线观看| 久久精品视频免费| 亚洲一区二区三区四区中文字幕| 日韩精品一二三四| 国产91精品精华液一区二区三区| 色欧美乱欧美15图片| 91麻豆精品国产91久久久 | 99国产精品久久久久| 在线一区二区视频| 久久天堂av综合合色蜜桃网| 国产乱码一区二区三区| 色婷婷精品大视频在线蜜桃视频| 欧美一区二区三区公司| 亚洲欧洲日韩综合一区二区| 免费的国产精品| 99久久99久久精品免费观看| 日韩午夜在线观看| 亚洲三级免费观看| 国产一区二区三区蝌蚪| 欧美伊人久久大香线蕉综合69| 精品少妇一区二区| 亚洲婷婷综合色高清在线| 日韩国产高清影视| 国产制服丝袜一区| 欧美电影影音先锋| 日本一区二区三区在线不卡| 亚洲一区二区三区四区五区中文| 中文字幕av免费专区久久| 丝袜亚洲精品中文字幕一区| 国产精品影视网| 欧美最猛性xxxxx直播| 日韩精品最新网址| 国产精品久久久久影院| 亚洲一区二区三区四区五区黄| 九色综合狠狠综合久久| 97成人超碰视| 日韩女优电影在线观看| 午夜一区二区三区视频| 国产传媒久久文化传媒| 欧美日产在线观看| 国产精品久久久久久久裸模| 国产二区国产一区在线观看| 欧美日韩国产在线观看| 欧美经典三级视频一区二区三区| 性欧美疯狂xxxxbbbb| 午夜久久久久久| 色狠狠av一区二区三区| 欧美电影在线免费观看| 亚洲精品欧美二区三区中文字幕| 久久成人免费日本黄色| 欧美三级在线播放| 国产精品传媒视频| 精品一区二区av| 69av一区二区三区| 亚洲黄色录像片| 91久久精品一区二区三| 国产精品伦理一区二区| 激情图区综合网| 欧美一区二区日韩| 美日韩一区二区三区| 精品视频123区在线观看| 中文字幕在线观看一区| 国产酒店精品激情| 久久久精品2019中文字幕之3| 丝袜美腿一区二区三区| 欧美性感一区二区三区| 亚洲色图另类专区| 成人91在线观看| 亚洲国产精品v| 波多野结衣在线一区| 国产亚洲一二三区| 国内不卡的二区三区中文字幕| 欧美一区二区三区视频免费播放| 亚洲国产精品精华液网站| 色8久久人人97超碰香蕉987| 中文字幕亚洲不卡| 不卡的电影网站| 亚洲图片自拍偷拍| 欧美日韩卡一卡二| 天天免费综合色| 91精品在线观看入口| 国产乱码精品一区二区三区忘忧草| 欧美不卡视频一区| 国产自产2019最新不卡| 欧美精品乱码久久久久久 | 国产精品久久久久久久久晋中| 91麻豆国产精品久久| 一区二区在线观看视频| 日本福利一区二区| 国产精品区一区二区三| 在线视频国产一区|