 
   Keys
   ----
-  * **:set-type** is either `:train` or `:test` and defaults
+  * **:set-type** is either `:train`, `:test`, `:train-test` (all) and defaults
   to [[set-default-set-type]] or `:train` if not set"
   [& {:keys [set-type] :or {set-type nil}}]
   (use-connection

(defn set-default-set-type
  "Set the default bucket (training or testing) to get data.

  * **:set-type** is either `:train` or `:test` (`:train` if not set)

  See [[ids]]"
  [set-type]

      (when (es/exists?)
        (let [set-type (or set-type @default-set-type)
              {:keys [train-test]} (id-list-data)]
          (if (= set-type :train-test)
            (apply concat (vals train-test))
            (get train-test set-type)))))))

(defn instances
  "Return all instance data based on the *dataset split* (see class docs).
