0

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')

1

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.