本文整理了Java中weka.classifiers.bayes.NaiveBayes.setUseSupervisedDiscretization()
方法的一些代码示例,展示了NaiveBayes.setUseSupervisedDiscretization()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NaiveBayes.setUseSupervisedDiscretization()
方法的具体详情如下:
包路径:weka.classifiers.bayes.NaiveBayes
类名称: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));
内容来源于网络,如有侵权,请联系作者删除!