<filename>1400OS_05_Codes/data.py
import os

# DATA_DIR = r"C:\pymlbook-data\ch05"
DATA_DIR = r"/weilei/code/python/building-machine-learning-systems-with-python/1400OS_05_Codes/data"
CHART_DIR = os.path.join(".", "charts")

filtered = os.path.join(DATA_DIR, "filtered.tsv")
filtered_meta = os.path.join(DATA_DIR, "filtered-meta.json")

chosen = os.path.join(DATA_DIR, "chosen.tsv")
chosen_meta = os.path.join(DATA_DIR, "chosen-meta.json")

<filename>1400OS_05_Codes/data.py
import os

# DATA_DIR = r"C:\pymlbook-data\ch05"
DATA_DIR = r"/weilei/code/python/building-machine-learning-systems-with-python/1400OS_05_Codes/data"
CHART_DIR = os.path.join(".", "charts")

filtered = os.path.join(DATA_DIR, "filtered.tsv")
filtered_meta = os.path.join(DATA_DIR, "filtered-meta.json")

chosen = os.path.join(DATA_DIR, "chosen.tsv")
chosen_meta = os.path.join(DATA_DIR, "chosen-meta.json")

# DATA_DIR = r"C:\pymlbook-data\ch05"