类weka.core.Tag源码实例Demo

下面列出了怎么用weka.core.Tag的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: meka   文件: AbstractMultiSearch.java
/**
 * generates a table string for all the performances in the space and returns
 * that.
 *
 * @param space		the current space to align the performances to
 * @param performances	the performances to align
 * @param type		the type of performance
 * @return			the table string
 */
public String logPerformances(Space space, Vector<Performance> performances, Tag type) {
	StringBuffer	result;
	int			i;

	result = new StringBuffer(type.getReadable() + ":\n");

	result.append(space.toString());
	result.append("\n");
	for (i = 0; i < performances.size(); i++) {
		result.append(performances.get(i).getPerformance(type.getID()));
		result.append("\n");
	}
	result.append("\n");

	return result.toString();
}
 
源代码2 项目: meka   文件: AbstractMultiSearch.java
/**
 * Returns the underlying tags.
 *
 * @return		the tags
 */
public Tag[] getMetricsTags() {
	return m_Metrics.getTags();
}
 
源代码3 项目: meka   文件: MekaEvaluationMetrics.java
/**
 * Returns the tags to used in the GUI.
 *
 * @return		the tags
 */
@Override
public Tag[] getTags() {
	return TAGS_EVALUATION;
}