0
$\begingroup$

I was watching this machine learning course by Andrew NG where he states memory requirement and disk space requirement separately while referring to machine learning algorithms. What exactly is the difference and how are they occupied?

$\endgroup$
2
$\begingroup$

What you need to remember is :

  • Disk space : slow to read/write but cheap, any computer has > 100Go of hard disk
  • Memory : fast to read/write but expensive, usually a few Go

When you run an algorithm you usually use only RAM. In deep learning your dataset is often too big so you store it in the disk space and load pieces of it into RAM when needed for training.

There are tons of resources on the internet if you want to better understand how they differ (for example https://www.differencebetween.com/difference-between-hard-disk-and-vs-ram/)

| improve this answer | |
New contributor
mprouveur is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
  • $\begingroup$ Because you used it twice: What do you mean by Go? Is this an abbreviation? $\endgroup$ – N. Kiefer Sep 14 at 15:51
  • $\begingroup$ What does "expensive" mean here? $\endgroup$ – Chandraraj Singh Sep 14 at 17:37
  • $\begingroup$ So Disk Space means hard disk and memory means RAM right? $\endgroup$ – Chandraraj Singh Sep 14 at 17:38
  • 1
    $\begingroup$ -Go = gigaoctet (measures how much you can store : en.wikipedia.org/wiki/Octet_(computing)) -I mean "expensive" in terms of how much it will cost you, having an extra 8Go of RAM is much more expensive than an extra 8Go of hard disk -"So Disk Space means hard disk and memory means RAM right?" I think so yes $\endgroup$ – mprouveur 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.