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

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

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

Instances.toSummaryString介绍

[英]Generates a string summarizing the set of instances. Gives a breakdown for each attribute indicating the number of missing/discrete/unique values and other information.
[中]生成汇总实例集的字符串。提供每个属性的细分,指示缺失/离散/唯一值的数量和其他信息。

代码示例

代码示例来源:origin: com.googlecode.obvious/obviousx-weka

@Override
public String toSummaryString() {
 return super.toSummaryString();
}

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

} else {
 Instances i = new XMLInstances(r).getInstances();
 System.out.println(i.toSummaryString());

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

} else {
 Instances i = new XMLInstances(r).getInstances();
 System.out.println(i.toSummaryString());

代码示例来源:origin: dice-group/NLIWOD

instances.add(tmp);        
log.info(instances.toSummaryString());
try (FileWriter file = new FileWriter("./src/main/resources/" + system.name() +  ".arff")) {
  file.write(instances.toString());

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

DataSource source = new DataSource(System.in);
i = source.getDataSet();
System.out.println(i.toSummaryString());
DataSource source = new DataSource(args[0]);
i = source.getDataSet();
System.out.println(i.toSummaryString());

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

DataSource source = new DataSource(System.in);
i = source.getDataSet();
System.out.println(i.toSummaryString());
DataSource source = new DataSource(args[0]);
i = source.getDataSet();
System.out.println(i.toSummaryString());

相关文章

Instances类方法