Update queries_demo.py
Browse files- queries_demo.py +2 -1
queries_demo.py
CHANGED
|
@@ -42,8 +42,9 @@ class DemoDataGenerator:
|
|
| 42 |
# US state abbreviations for realistic distribution
|
| 43 |
states = ['CA', 'TX', 'NY', 'FL', 'IL', 'PA', 'OH', 'GA', 'NC', 'MI',
|
| 44 |
'NJ', 'VA', 'WA', 'AZ', 'MA', 'TN', 'IN', 'MO', 'MD', 'WI']
|
|
|
|
| 45 |
state_weights = [0.15, 0.12, 0.10, 0.09, 0.06, 0.05, 0.05, 0.04, 0.04, 0.04,
|
| 46 |
-
0.04, 0.04, 0.
|
| 47 |
|
| 48 |
# Cities by state
|
| 49 |
cities_by_state = {
|
|
|
|
| 42 |
# US state abbreviations for realistic distribution
|
| 43 |
states = ['CA', 'TX', 'NY', 'FL', 'IL', 'PA', 'OH', 'GA', 'NC', 'MI',
|
| 44 |
'NJ', 'VA', 'WA', 'AZ', 'MA', 'TN', 'IN', 'MO', 'MD', 'WI']
|
| 45 |
+
# Probabilities must sum to exactly 1.0
|
| 46 |
state_weights = [0.15, 0.12, 0.10, 0.09, 0.06, 0.05, 0.05, 0.04, 0.04, 0.04,
|
| 47 |
+
0.04, 0.04, 0.03, 0.03, 0.03, 0.02, 0.02, 0.02, 0.02, 0.01]
|
| 48 |
|
| 49 |
# Cities by state
|
| 50 |
cities_by_state = {
|