   :node-selection-tournament-size 2
   :report-simplifications 0
   :final-report-simplifications 1000
+  :use-rmse true
   :problem-specific-report bioavailability-report
   )

    (map #(map (fn [x] (float (read-string x)))
               %)
         lines)))

;(count (read-data))

;(count (first (read-data)))

;(map last (read-data))


(defn define-fitness-cases
  "Returns a map with two keys: train and test. Train maps to a

        [clojush.random]
        [clojush.util]
        [local-file]
        [clojure.math.numeric-tower])
  (:require [clojure.string :as string]
            [clojure-csv.core :as csv]))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Helper functions

(defn rmse
  "Returns the root of the mean square error for use in error reporting."
  [errors]
  (sqrt (/ (apply + (map #(* % %)
                         errors))
           (count errors))))

(defn read-data []
  "Reads data from data/bioavailability.txt into a sequence of sequences."
