org.metasyntactic.ai.learning
Class ContinuousValuedAttributes

java.lang.Object
  |
  +--org.metasyntactic.ai.learning.ContinuousValuedAttributes

public class ContinuousValuedAttributes
extends java.lang.Object


Method Summary
static java.util.Map discretize(java.util.Collection values)
          Partitions values into the 4 partitions.
static java.util.Map discretizeDoubles(java.util.Collection values)
           
static java.util.Map discretizeIntegers(java.util.Collection values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

discretize

public static java.util.Map discretize(java.util.Collection values)
Partitions values into the 4 partitions. Returns a function that will map an old value into it's new partition


discretizeIntegers

public static java.util.Map discretizeIntegers(java.util.Collection values)

discretizeDoubles

public static java.util.Map discretizeDoubles(java.util.Collection values)