code: public static ValidationResult deleteInvalidMultiDataSets(JavaSparkContext sc, String path) {
          return validateMultiDataSets(sc, path, true, true, -1, -1, null, null);
      }
docs: Validate MultiDataSet objects - <b>and delete any invalid MultiDataSets</b> - that have been previously saved to the
  specified directory on HDFS by attempting to load them and checking their contents. Assumes MultiDataSets were saved
  using {@link org.nd4j.linalg.dataset.MultiDataSet#save(OutputStream)}.<br>
  Note: this method will also consider all files in subdirectories (i.e., is recursive).
  
  @param sc   Spark context
  @param path HDFS path of the directory containing the saved DataSet objects
  @return Results of the validation/deletion