Handbook
Glossary
load-iris ( -- data-set )
Vocabulary
machine-learning
.
data-sets
Inputs
None
Outputs
data-set
an
object
Definition
USING:
assocs
kernel
machine-learning.data-sets.private
sequences
;
IN:
machine-learning.data-sets
:
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>
;