All right. 1
So now that you know where the original data comes from and how to work with archive files and how to 2
work with files that don't really have a good file extension, let's focus on how I would like you to work 3
with the lesson resources that I've already included. 4
These resources don't just include the spam emails, but also some image files and some fonts and I've 5
organized everything very, very nicely for you in folders as well. 6
So, you're welcome. 7
Let's include the modules resources in Jupyter. 8
All right. 9
So on Windows, I've got my MLProject folder here in Jupyter and I have to pull up this folder here 10
in Explorer. 11
So this folder is located right here under "Users" and then my username, 12
and if I open this up I can see that the same files that are listed here are here on Windows Explorer. 13
So I've downloaded the lesson resources here. 14
The "SpamData.zip" and if I double click on it, 15
I open the "SpamData. 16
zip" file. 17
I have not extracted it. 18
What you really need to do is right click on this thing and click "Extract All". 19
OK. 20
So now this is key. 21
Let's see what happens if I leave the defaults and I just click "Extract". We'll twiddle our thumbs a bit 22
and wait for this to complete. 23
One thing you'll notice is that this works a lot faster with solid state drives than with regular hard 24
drives. All right, 25
now let's see what we've got. 26
We've got SpamData. 27
This is the extracted folder from here. If I double click on this, I have a nested folder here, 28
"SpamData" and then I have this one here which we'll ignore or you can delete, but it's this folder here 29
that you need. 30
Right? 31
So this is the one where you've got processing, training and testing. 32
Right. 33
So by default I've got a nested folder structure "SpamData" is inside another folder called "SpamData". 34
Now, take this one here, the one inside and bring it over here. 35
This thing here is just an artifact from me having zipped this file on a Mac. 36
So you don't need to worry about this, you can just delete this file. 37
It's not important. 38
Now, here's the key. 39
Right. 40
Back in Jupyter notebook, we see the SpamData folder here come up and clicking on it, 41
you see three folders. If you open this and you see another SpamData folder, 42
then you've got a nested folder which you don't want and will cause problems later on. 43
So this is the structure that we're really, really going for. The remainder of this module assumes that 44
you've got this exactly the same way I'm doing this. 45
You've got the same file names. 46
You've got the same folder names. 47
You've got the same folder structure and you've got the same location. 48
This is how we're going to roll. 49
So just double check that you're mirroring my setup here and that there is no accidental nested directories 50
anywhere. 51
And with that out of the way we're finally good to go. 52
I'll see in the next lesson. 53
Take care.