edu.udo.cs.yale.example
Interface PartitionBuilder
- All Known Implementing Classes:
- ShuffledPartitionBuilder, SimplePartitionBuilder, StratifiedPartitionBuilder
public interface PartitionBuilder
Creates partitions from ratio arrays. Subclasses might shuffle the examples
before building the partition or apply stratification. The delivered
partitions consist of an array of integer values with the same length as the
given size. For each element the integer defines the number of the partition
for this element. Numbering starts with 0.
- Version:
- $Id: PartitionBuilder.java,v 2.8 2006/08/03 14:39:27 ingomierswa Exp $
- Author:
- Ingo Mierswa
Method Summary |
int[] |
createPartition(double[] ratio,
int size)
Creates a partition from the given ratios. |
createPartition
int[] createPartition(double[] ratio,
int size)
- Creates a partition from the given ratios. Size is the number of
elements, i.e. the number of examples.
Copyright © 2001-2006