de.zimek.ding
Class Arffizer

java.lang.Object
  extended byde.zimek.ding.Arffizer

public class Arffizer
extends java.lang.Object

This class simply transforms the protein attribute lists as provided by Ding and Dubchak to arff format, using minimum support of 7 for each class.


Field Summary
static java.util.Map DOMAIN_TO_FOLD
           
static int[] frequency
           
static java.util.Map HIERARCHICAL_FOLDS
           
static int MINIMUM
           
static java.util.Map NAME_TO_NUMBER
           
static java.util.regex.Pattern NOT_ALLOWED
           
static java.util.regex.Pattern WHITESPACE
           
 
Constructor Summary
Arffizer()
           
 
Method Summary
private static java.lang.String chop(java.lang.String s)
          Returns the given String without leading whitespace.
static boolean include(int i, int a)
           
static void main(java.lang.String[] args)
          This class simply transforms the protein attribute lists as provided by Ding and Dubchak to arff format, using minimum support of 7 for each class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHITESPACE

public static final java.util.regex.Pattern WHITESPACE

NOT_ALLOWED

public static final java.util.regex.Pattern NOT_ALLOWED

MINIMUM

public static final int MINIMUM
See Also:
Constant Field Values

DOMAIN_TO_FOLD

public static final java.util.Map DOMAIN_TO_FOLD

HIERARCHICAL_FOLDS

public static final java.util.Map HIERARCHICAL_FOLDS

NAME_TO_NUMBER

public static final java.util.Map NAME_TO_NUMBER

frequency

public static int[] frequency
Constructor Detail

Arffizer

public Arffizer()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
This class simply transforms the protein attribute lists as provided by Ding and Dubchak to arff format, using minimum support of 7 for each class.

Parameters:
args -
Throws:
java.lang.Exception

include

public static boolean include(int i,
                              int a)

chop

private static java.lang.String chop(java.lang.String s)
Returns the given String without leading whitespace.

Parameters:
s -
Returns:
String