weka.classifiers.bayes.NaiveBayes.setUseSupervisedDiscretization()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中weka.classifiers.bayes.NaiveBayes.setUseSupervisedDiscretization()方法的一些代码示例,展示了NaiveBayes.setUseSupervisedDiscretization()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NaiveBayes.setUseSupervisedDiscretization()方法的具体详情如下:
包路径:weka.classifiers.bayes.NaiveBayes
类名称:NaiveBayes
方法名:setUseSupervisedDiscretization

NaiveBayes.setUseSupervisedDiscretization介绍

[英]Set whether supervised discretization is to be used.
[中]设置是否使用监督离散化。

代码示例

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Sets if kernel estimator is to be used.
 * 
 * @param v Value to assign to m_UseKernelEstimatory.
 */
public void setUseKernelEstimator(boolean v) {
 m_UseKernelEstimator = v;
 if (v) {
  setUseSupervisedDiscretization(false);
 }
}

代码示例来源:origin: Waikato/weka-trunk

/**
 * Sets if kernel estimator is to be used.
 * 
 * @param v Value to assign to m_UseKernelEstimatory.
 */
public void setUseKernelEstimator(boolean v) {
 m_UseKernelEstimator = v;
 if (v) {
  setUseSupervisedDiscretization(false);
 }
}

代码示例来源:origin: Waikato/weka-trunk

+ "estimation and discretization!");
setUseSupervisedDiscretization(d);
setUseKernelEstimator(k);
setDisplayModelInOldFormat(Utils.getFlag('O', options));

代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable

+ "estimation and discretization!");
setUseSupervisedDiscretization(d);
setUseKernelEstimator(k);
setDisplayModelInOldFormat(Utils.getFlag('O', options));

相关文章