org.knime.base.node.preproc.equalsizesampling
Class OccurrenceCounter
java.lang.Object
org.knime.base.node.preproc.equalsizesampling.OccurrenceCounter
final class OccurrenceCounter
- extends Object
- Author:
- Bernd Wiswedel, KNIME.com, Zurich, Switzerland
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OccurrenceCounter
OccurrenceCounter(DataCell categoryCell)
- Parameters:
categoryCell -
getCategoryCell
DataCell getCategoryCell()
- Returns:
- the categoryCell
incrementCount
void incrementCount()
- Increment count by one.
getCount
int getCount()
- Returns:
- the count
createSampler
public OccurrenceCounter.Sampler createSampler(int count,
EqualSizeSamplingConfiguration.SamplingMethod sampMethod,
Random random)
Copyright, 2003 - 2012. 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.