huff 1.4.0__tar.gz → 1.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {huff-1.4.0 → huff-1.5.0}/PKG-INFO +14 -3
  2. {huff-1.4.0 → huff-1.5.0}/README.md +13 -2
  3. {huff-1.4.0 → huff-1.5.0}/huff/gistools.py +2 -2
  4. {huff-1.4.0 → huff-1.5.0}/huff/models.py +985 -196
  5. {huff-1.4.0 → huff-1.5.0}/huff/ors.py +2 -2
  6. {huff-1.4.0 → huff-1.5.0}/huff/osm.py +2 -2
  7. huff-1.5.0/huff/tests/data/Haslach_new_supermarket.dbf +0 -0
  8. huff-1.5.0/huff/tests/data/Haslach_new_supermarket.qmd +26 -0
  9. huff-1.5.0/huff/tests/data/Haslach_new_supermarket.shp +0 -0
  10. huff-1.5.0/huff/tests/data/Haslach_new_supermarket.shx +0 -0
  11. huff-1.5.0/huff/tests/data/Haslach_supermarkets.cpg +1 -0
  12. huff-1.5.0/huff/tests/data/Haslach_supermarkets.prj +1 -0
  13. huff-1.5.0/huff/tests/data/Wieland2015.xlsx +0 -0
  14. {huff-1.4.0 → huff-1.5.0}/huff/tests/tests_huff.py +163 -25
  15. {huff-1.4.0 → huff-1.5.0}/huff.egg-info/PKG-INFO +14 -3
  16. {huff-1.4.0 → huff-1.5.0}/huff.egg-info/SOURCES.txt +6 -0
  17. {huff-1.4.0 → huff-1.5.0}/setup.py +1 -1
  18. huff-1.4.0/huff/tests/data/Wieland2015.xlsx +0 -0
  19. {huff-1.4.0 → huff-1.5.0}/MANIFEST.in +0 -0
  20. {huff-1.4.0 → huff-1.5.0}/huff/__init__.py +0 -0
  21. {huff-1.4.0 → huff-1.5.0}/huff/tests/__init__.py +0 -0
  22. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach.cpg +0 -0
  23. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach.dbf +0 -0
  24. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach.prj +0 -0
  25. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach.qmd +0 -0
  26. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach.shp +0 -0
  27. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach.shx +0 -0
  28. /huff-1.4.0/huff/tests/data/Haslach_supermarkets.cpg → /huff-1.5.0/huff/tests/data/Haslach_new_supermarket.cpg +0 -0
  29. /huff-1.4.0/huff/tests/data/Haslach_supermarkets.prj → /huff-1.5.0/huff/tests/data/Haslach_new_supermarket.prj +0 -0
  30. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach_supermarkets.dbf +0 -0
  31. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach_supermarkets.qmd +0 -0
  32. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach_supermarkets.shp +0 -0
  33. {huff-1.4.0 → huff-1.5.0}/huff/tests/data/Haslach_supermarkets.shx +0 -0
  34. {huff-1.4.0 → huff-1.5.0}/huff.egg-info/dependency_links.txt +0 -0
  35. {huff-1.4.0 → huff-1.5.0}/huff.egg-info/requires.txt +0 -0
  36. {huff-1.4.0 → huff-1.5.0}/huff.egg-info/top_level.txt +0 -0
  37. {huff-1.4.0 → huff-1.5.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huff
3
- Version: 1.4.0
3
+ Version: 1.5.0
4
4
  Summary: huff: Huff Model Market Area Analysis
5
5
  Author: Thomas Wieland
6
6
  Author-email: geowieland@googlemail.com
@@ -18,14 +18,25 @@ Thomas Wieland [ORCID](https://orcid.org/0000-0001-5168-9846) [EMail](mailto:geo
18
18
  See the /tests directory for usage examples of most of the included functions.
19
19
 
20
20
 
21
+ ## Updates v1.5.0
22
+ - Extensions:
23
+ - Huff model utility via InteractionMatrix.utility() extended to >2 variables
24
+ - Huff Model Maximum Likelihood fit via InteractionMatrix.huff_ml_fit() extended: >2 variables, fit by flows or probabilities
25
+ - Loading total market areas data as class MarketAreas
26
+ - Extended output of InteractionMatrix.summary()
27
+ - Bugfixes:
28
+ - InteractionMatrix.utility(): Tests for availability of relevant columns
29
+ - InteractionMatrix.flows(): Tests for availability of relevant columns
30
+ - modelfit(): Symmetrical (M)APE instead of (M)APE when observed contains zeros
31
+
21
32
  ## Features
22
33
 
23
34
  - **Huff Model**:
24
35
  - Defining origins and destinations with weightings
25
36
  - Creating interaction matrix from origins and destinations
26
- - Market simulation with basic Huff Model
27
37
  - Different function types: power, exponential, logistic
28
- - Huff model parameter estimation via Maximum Likelihood (ML)
38
+ - Huff model parameter estimation via Maximum Likelihood (ML) by probalities and customer flows
39
+ - Huff model market simulation
29
40
  - **Multiplicative Competitive Interaction Model**:
30
41
  - Log-centering transformation of interaction matrix
31
42
  - Fitting MCI model with >= 2 independent variables
@@ -10,14 +10,25 @@ Thomas Wieland [ORCID](https://orcid.org/0000-0001-5168-9846) [EMail](mailto:geo
10
10
  See the /tests directory for usage examples of most of the included functions.
11
11
 
12
12
 
13
+ ## Updates v1.5.0
14
+ - Extensions:
15
+ - Huff model utility via InteractionMatrix.utility() extended to >2 variables
16
+ - Huff Model Maximum Likelihood fit via InteractionMatrix.huff_ml_fit() extended: >2 variables, fit by flows or probabilities
17
+ - Loading total market areas data as class MarketAreas
18
+ - Extended output of InteractionMatrix.summary()
19
+ - Bugfixes:
20
+ - InteractionMatrix.utility(): Tests for availability of relevant columns
21
+ - InteractionMatrix.flows(): Tests for availability of relevant columns
22
+ - modelfit(): Symmetrical (M)APE instead of (M)APE when observed contains zeros
23
+
13
24
  ## Features
14
25
 
15
26
  - **Huff Model**:
16
27
  - Defining origins and destinations with weightings
17
28
  - Creating interaction matrix from origins and destinations
18
- - Market simulation with basic Huff Model
19
29
  - Different function types: power, exponential, logistic
20
- - Huff model parameter estimation via Maximum Likelihood (ML)
30
+ - Huff model parameter estimation via Maximum Likelihood (ML) by probalities and customer flows
31
+ - Huff model market simulation
21
32
  - **Multiplicative Competitive Interaction Model**:
22
33
  - Log-centering transformation of interaction matrix
23
34
  - Fitting MCI model with >= 2 independent variables
@@ -4,8 +4,8 @@
4
4
  # Author: Thomas Wieland
5
5
  # ORCID: 0000-0001-5168-9846
6
6
  # mail: geowieland@googlemail.com
7
- # Version: 1.4.0
8
- # Last update: 2025-06-10 17:16
7
+ # Version: 1.4.1
8
+ # Last update: 2025-06-16 17:44
9
9
  # Copyright (c) 2025 Thomas Wieland
10
10
  #-----------------------------------------------------------------------
11
11