org.knime.base.node.mine.sota.logic
Class CellClassCounter
java.lang.Object
org.knime.base.node.mine.sota.logic.CellClassCounter
public class CellClassCounter
- extends Object
- Author:
- Kilian Thiel, University of Konstanz
Constructor Summary |
CellClassCounter()
Creates new instance of CellClassCounter . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellClassCounter
public CellClassCounter()
- Creates new instance of
CellClassCounter
.
addClass
public void addClass(String cellClass)
- Adds the given class to the class frequency counter.
- Parameters:
cellClass
- The class to add.
getMostFrequentClass
public String getMostFrequentClass()
- Returns:
- the class which appears most frequently.
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.