How to read MNIST database in R?

后端 未结 5 689
迷失自我
迷失自我 2021-02-05 22:31

I\'m currently working on a case study for which I need to work on the MNIST database.
The files in this site are said to be in IDX file format. I tried to take a look at th

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-05 23:15

    Here's how you can do it using Darch package:

    Run readMNIST('C:/Users/pj_/Dir/')

    Which will store test.RData and train.RData in your set directory. When you load these two files in your Workspace, you will be able to see 'testData', 'testLabels', 'trainData' and 'trainLabels' in your Global Environment.

提交回复
热议问题