Handbook
Glossary
load-boston-data ( -- X y )
Vocabulary
tensors
.
demos
Inputs
None
Outputs
X
an
object
y
an
object
Definition
USING:
csv
io.encodings.utf8
math.parser
sequences
tensors
;
IN:
tensors.demos
:
load-boston-data
( -- X y )
"vocab:tensors/demos/data.csv"
utf8
file>csv
[
[
string>number
]
map
]
map
>tensor
"vocab:tensors/demos/target.csv"
utf8
file>csv
[
[
string>number
]
map
]
map
>tensor
;