Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,15 @@ def dynamic_huff_model(df_distances, df_attractiveness, alpha, beta, df_capacity
|
|
17 |
Returns:
|
18 |
- pd.DataFrame: A DataFrame with the final distribution of visitors to each destination.
|
19 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
if df_population is None:
|
21 |
df_population = pd.Series(np.ones(df_distances.shape[0]), index=df_distances.index)
|
22 |
|
|
|
17 |
Returns:
|
18 |
- pd.DataFrame: A DataFrame with the final distribution of visitors to each destination.
|
19 |
"""
|
20 |
+
|
21 |
+
print("====== PRAMETER =====")
|
22 |
+
print("alpha",alpha)
|
23 |
+
print("beta",beta)
|
24 |
+
print("iterations",iterations)
|
25 |
+
print("crowding_threshold",crowding_threshold)
|
26 |
+
print("=====================")
|
27 |
+
|
28 |
+
|
29 |
if df_population is None:
|
30 |
df_population = pd.Series(np.ones(df_distances.shape[0]), index=df_distances.index)
|
31 |
|