Run

To run the part and select algorithm (only the "part" portion has been implemented), first compile:

javac PSA.java

Then run:

java PSA filename n-partitions

n-partitions is the number of partitions to divide the points into.

Input Format

Each line of the input file represents a data item with in n features. Each line will have n doubles, f1 ... fn, separated by a space specifying the features of that point where fi is the ith feature.