edu.uiuc.ge.illigal.gale.data
Class HoldOutGenerator

java.lang.Object
  |
  +--edu.uiuc.ge.illigal.gale.data.HoldOutGenerator

public class HoldOutGenerator
extends java.lang.Object

This class computes the instance sets for hold out.

Since:
0.9alpha
Version:
0.9alpha
Author:
Xavier Llorà <xllora@illigal.ge.uiuc.edu>

Constructor Summary
HoldOutGenerator()
           
 
Method Summary
static edu.uiuc.ge.illigal.gale.data.InstanceSet[] stratifiedHoldOut(edu.uiuc.ge.illigal.gale.data.InstanceSet inss, float fProp, edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf)
          Computes the instance sets for a stratified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HoldOutGenerator

public HoldOutGenerator()
Method Detail

stratifiedHoldOut

public static edu.uiuc.ge.illigal.gale.data.InstanceSet[] stratifiedHoldOut(edu.uiuc.ge.illigal.gale.data.InstanceSet inss,
                                                                            float fProp,
                                                                            edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf)
Computes the instance sets for a stratified

Parameters:
inss - the instance set to use
fProp - the hold out proportion (% training instances)
galeCnf - the GALE environment configuration object
Returns:
the train an test instance sets