Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

config.py 388 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  1. import logging
  2. import os
  3. from typing import Any, Dict, List, Optional, Tuple
  4. logger = logging.getLogger(__name__)
  5. class Constants:
  6. HOME = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
  7. CONF_DIR = os.path.join(HOME, "config")
  8. DATA_DIR = os.path.join(HOME, "data")
  9. DATASET_PATH = DATA_DIR + "/01_mobile_price_classification"
  10. # seed
  11. SEED = 1234
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...