public void prepareExperiment(String path) {
    try {
      // Print out the param file
      printParamFile(new PrintStream(new java.io.File(path + "autoweka.params")));

      autoweka.Util.makePath(path + "out");
    } catch (Exception e) {
      throw new RuntimeException("Failed to prepare the experiment", e);
    }
  }