本文整理了Java中weka.core.Instances.readInstance()
方法的一些代码示例,展示了Instances.readInstance()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instances.readInstance()
方法的具体详情如下:
包路径:weka.core.Instances
类名称:Instances
方法名:readInstance
[英]Reads a single instance from the reader and appends it to the dataset. Automatically expands the dataset if it is not large enough to hold the instance. This method does not check for carriage return at the end of the line.
[中]从读取器读取单个实例并将其附加到数据集。如果数据集不够大,无法容纳实例,则自动展开数据集。此方法不检查行尾的回车。
代码示例来源:origin: com.googlecode.obvious/obviousx-weka
@SuppressWarnings("deprecation")
@Override
public boolean readInstance(Reader reader) throws IOException {
return super.readInstance(reader);
}
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
InstanceEvent.FORMAT_AVAILABLE);
notifyInstanceProduced(ie);
while (m_OutputInstances.readInstance(input)) {
if (m_LoaderThread != this) {
return;
代码示例来源:origin: Waikato/weka-trunk
InstanceEvent.FORMAT_AVAILABLE);
notifyInstanceProduced(ie);
while (m_OutputInstances.readInstance(input)) {
if (m_LoaderThread != this) {
return;
代码示例来源:origin: nz.ac.waikato.cms.weka/weka-stable
instances.setClassIndex(instances.numAttributes() - 1);
i = 0;
while ((i < 5) && (instances.readInstance(reader))) {
i++;
代码示例来源:origin: Waikato/weka-trunk
instances.setClassIndex(instances.numAttributes() - 1);
i = 0;
while ((i < 5) && (instances.readInstance(reader))) {
i++;
内容来源于网络,如有侵权,请联系作者删除!