Spaces:
Runtime error
Runtime error
Updated naming convention for dataset databases to be clearer.
Browse files
data/sqlite/{products_dataset.db β 01_all_products_dataset.db}
RENAMED
File without changes
|
data/sqlite/{all_products.db β 02_baseline_products_dataset.db}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 17260544
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5ece96e2b662df011c9896e4c276053296e6ea28a8d207bdf19c5219734585d
|
3 |
size 17260544
|
src/data_synthesis/data_loader.py
CHANGED
@@ -12,7 +12,7 @@ from src.data_synthesis.generate_data import get_categories_and_features, produc
|
|
12 |
|
13 |
|
14 |
def db_file() -> str:
|
15 |
-
output_file_name = f"
|
16 |
return os.path.join(data_dir, 'sqlite', output_file_name)
|
17 |
|
18 |
|
|
|
12 |
|
13 |
|
14 |
def db_file() -> str:
|
15 |
+
output_file_name = f"01_all_products_dataset.db"
|
16 |
return os.path.join(data_dir, 'sqlite', output_file_name)
|
17 |
|
18 |
|
src/datatypes.py
CHANGED
@@ -5,7 +5,7 @@ from src.common import *
|
|
5 |
|
6 |
|
7 |
class DataLoader:
|
8 |
-
active_db = "
|
9 |
db_dir = os.path.join(data_dir, 'sqlite')
|
10 |
db_file = os.path.join(db_dir, f"{active_db}.db")
|
11 |
loaded = False
|
|
|
5 |
|
6 |
|
7 |
class DataLoader:
|
8 |
+
active_db = "01_all_products_dataset"
|
9 |
db_dir = os.path.join(data_dir, 'sqlite')
|
10 |
db_file = os.path.join(db_dir, f"{active_db}.db")
|
11 |
loaded = False
|