Accessing files

Hello, Where do I find the csv and other files that I need to run the code? For example, where is the ‘…/data/house_tiny.csv’ file mentioned in chapter 2?

Hi @vinven7, the house_tiny file is a simulated file we created in 2.2.1.

" As an example, we begin by creating an artificial dataset that is stored in a csv (comma-separated values) file ../data/house_tiny.csv ."

Where can I find this folder: …/data? Is it on github?

Actually the file is created in the code snippet of that example

import os

os.makedirs(os.path.join('..', 'data'), exist_ok=True)
data_file = os.path.join('..', 'data', 'house_tiny.csv')
with open(data_file, 'w') as f:
    f.write('NumRooms,Alley,Price\n')  # Column names
    f.write('NA,Pave,127500\n')  # Each row represents a data example