本文整理了Java中weka.core.Instances.deleteWithMissing()
方法的一些代码示例,展示了Instances.deleteWithMissing()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instances.deleteWithMissing()
方法的具体详情如下:
包路径:weka.core.Instances
类名称:Instances
方法名:deleteWithMissing
[英]Removes all instances with missing values for a particular attribute from the dataset.
[中]从数据集中删除缺少特定属性值的所有实例。
代码示例来源:origin: com.googlecode.obvious/obviousx-weka
@Override
public void deleteWithMissing(int arg0) {
super.deleteWithMissing(arg0);
}
代码示例来源:origin: com.googlecode.obvious/obviousx-weka
@Override
public void deleteWithMissing(Attribute att) {
super.deleteWithMissing(att);
}
代码示例来源:origin: Waikato/weka-trunk
/**
* Removes all instances with a missing class value from the dataset.
*
* @throws UnassignedClassException if class is not set
*/
public void deleteWithMissingClass() {
if (m_ClassIndex < 0) {
throw new UnassignedClassException("Class index is negative (not set)!");
}
deleteWithMissing(m_ClassIndex);
}
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
/**
* Removes all instances with missing values for a particular attribute from
* the dataset.
*
* @param att the attribute
*/
public void deleteWithMissing(/* @non_null@ */Attribute att) {
deleteWithMissing(att.index());
}
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
/**
* Removes all instances with a missing class value from the dataset.
*
* @throws UnassignedClassException if class is not set
*/
public void deleteWithMissingClass() {
if (m_ClassIndex < 0) {
throw new UnassignedClassException("Class index is negative (not set)!");
}
deleteWithMissing(m_ClassIndex);
}
代码示例来源:origin: Waikato/weka-trunk
/**
* Removes all instances with missing values for a particular attribute from
* the dataset.
*
* @param att the attribute
*/
public void deleteWithMissing(/* @non_null@ */Attribute att) {
deleteWithMissing(att.index());
}
内容来源于网络,如有侵权,请联系作者删除!