Handbook
Glossary
inverse-transform-y ( y transformer -- y' )
Vocabulary
machine-learning
.
transformer
Inputs
y
an
object
transformer
an
object
Outputs
y'
an
object
Definition
IN:
machine-learning.transformer
GENERIC:
inverse-transform-y
( y transformer -- y' )
Methods
USING:
accessors
kernel
machine-learning.label-binarizer
machine-learning.transformer
sequences
;
M:
label-binarizer
inverse-transform-y
classes_>>
[
[
1
swap
index
]
]
dip
[
nth
]
curry
compose
map
;
USING:
accessors
kernel
machine-learning.label-encoder
machine-learning.transformer
sequences
;
M:
label-encoder
inverse-transform-y
classes_>>
[
nth
]
curry
map
;