Learn R Programming

VBmix (version 0.2.17)

readLabelFile: readLabelFile

Description

reads the vector of numeric labels contained in a binary file. Labels are associated to handwritten digits, thus in [0-9].

Usage

readLabelFile(name)

Arguments

name
path to the file.

Value

  • vector of digit labels.

References

LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998) _Gradient-based learning applied to document recognition_, Proceedings of the IEEE, Volume 86, Number 11, Pages 2278-2324.

http://yann.lecun.com/exdb/mnist/, repository of the labels file.

See Also

readPixmapFile

Examples

Run this code
# use with path to actual train-...
# temp <- readLabelFile("data/train-labels-idx1-ubyte")

Run the code above in your browser using DataLab