load-iris ( -- data-set )


Vocabulary
machine-learning.data-sets

Inputs and outputs
data-setan object


Definition


: load-iris ( -- data-set )
"iris.csv" load-table-csv
[ [ unclip-last ] { } map>assoc unzip ] [ 2 tail ] bi* {
"sepal length (cm)"
"sepal width (cm)"
"petal length (cm)"
"petal width (cm)"
} swap "iris.rst" load-file <data-set> ;