weka.core.Instances.deleteWithMissing()方法的使用及代码示例

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

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

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());
}

相关文章

Instances类方法