weka.core.Tag Java Examples
The following examples show how to use
weka.core.Tag.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractMultiSearch.java From meka with GNU General Public License v3.0 | 6 votes |
/** * 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(); }
Example #2
Source File: AbstractMultiSearch.java From meka with GNU General Public License v3.0 | 2 votes |
/** * Returns the underlying tags. * * @return the tags */ public Tag[] getMetricsTags() { return m_Metrics.getTags(); }
Example #3
Source File: MekaEvaluationMetrics.java From meka with GNU General Public License v3.0 | 2 votes |
/** * Returns the tags to used in the GUI. * * @return the tags */ @Override public Tag[] getTags() { return TAGS_EVALUATION; }