Handbook
Glossary
load-monks ( name -- data-set )
Vocabulary
machine-learning
.
data-sets
Inputs
name
an
object
Outputs
data-set
an
object
Definition
USING:
kernel
machine-learning.data-sets.private
math.parser
sequences
;
IN:
machine-learning.data-sets
:
load-monks
( name -- data-set )
load-tabular-file
[
but-last
[
string>number
]
map
]
map
[
[
rest
]
map
]
[
[
first
]
map
]
bi
{
"a1"
"a2"
"a3"
"a4"
"a5"
"a6"
}
{
"no"
"yes"
}
"monks.names"
load-file
<data-set>
;