load-iris ( -- data-set )


Vocabulary
machine-learning.data-sets

Inputs
None

Outputs
data-setan object


Definition


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