Пример #1
0
 private static DataSet run(RandomizedProjectionFilter rca, DataSet original) {
   System.out.println("The projection matrix");
   System.out.println(rca.getProjection());
   DataSet transformed = original.copy();
   rca.filter(transformed);
   return transformed;
 }
Пример #2
0
 private static DataSet reconstruct(RandomizedProjectionFilter rca, DataSet transformed) {
   DataSet reconstructed = transformed.copy();
   rca.reverse(reconstructed);
   return reconstructed;
 }