From 6dc946e3e8574dced22429144fe8caff9fe70f4e Mon Sep 17 00:00:00 2001 From: Antonio Garrote Date: Sun, 28 Feb 2010 13:26:41 +0100 Subject: [PATCH] fix doc --- README.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.markdown b/README.markdown index 924e6d5..769a89f 100644 --- a/README.markdown +++ b/README.markdown @@ -18,12 +18,12 @@ Loading data from a CSV file: * Working with datasets - (use 'clj-ml.data) + (use 'clj-ml.data) ; Defining a dataset - (def ds (make-dataset "name" [:length :width {:kind [:good :bad]}] [12 34 :good] [24 53 :bad] ])) + (def ds (make-dataset "name" [:length :width {:kind [:good :bad]}] [12 34 :good] [24 53 :bad] ])) - ds + ds # ; Using datasets like sequences - (dataset-seq ds) + (dataset-seq ds) (# #) ; Transforming instances into maps or vectors - (instance-to-map (first (dataset-seq ds))) + (instance-to-map (first (dataset-seq ds))) {:kind :good, :width 34.0, :length 12.0}