Reputation: 145
I am learning ML and I am stuck with this following line of code
can anyone help me yo know what does this line of does
and the parameters required to give for it are??
gzip.open('../data/mnist.pkl.gz', 'rb')
Upvotes: 0
Views: 145
Reputation: 116
It starts to upload to memory the file you adressed in binary mode(fast way of reading), mostly you have to use rb argument. Next step is modifying this data and writing it back with 'wb' command.
Upvotes: 1