huff 1.5.0__tar.gz → 1.5.2__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.5.0 → huff-1.5.2}/PKG-INFO +6 -11
  2. {huff-1.5.0 → huff-1.5.2}/README.md +5 -10
  3. {huff-1.5.0 → huff-1.5.2}/huff/models.py +574 -141
  4. huff-1.5.2/huff/tests/data/Wieland2015.xlsx +0 -0
  5. {huff-1.5.0 → huff-1.5.2}/huff/tests/tests_huff.py +52 -23
  6. {huff-1.5.0 → huff-1.5.2}/huff.egg-info/PKG-INFO +6 -11
  7. {huff-1.5.0 → huff-1.5.2}/setup.py +1 -1
  8. huff-1.5.0/huff/tests/data/Wieland2015.xlsx +0 -0
  9. {huff-1.5.0 → huff-1.5.2}/MANIFEST.in +0 -0
  10. {huff-1.5.0 → huff-1.5.2}/huff/__init__.py +0 -0
  11. {huff-1.5.0 → huff-1.5.2}/huff/gistools.py +0 -0
  12. {huff-1.5.0 → huff-1.5.2}/huff/ors.py +0 -0
  13. {huff-1.5.0 → huff-1.5.2}/huff/osm.py +0 -0
  14. {huff-1.5.0 → huff-1.5.2}/huff/tests/__init__.py +0 -0
  15. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach.cpg +0 -0
  16. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach.dbf +0 -0
  17. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach.prj +0 -0
  18. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach.qmd +0 -0
  19. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach.shp +0 -0
  20. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach.shx +0 -0
  21. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_new_supermarket.cpg +0 -0
  22. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_new_supermarket.dbf +0 -0
  23. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_new_supermarket.prj +0 -0
  24. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_new_supermarket.qmd +0 -0
  25. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_new_supermarket.shp +0 -0
  26. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_new_supermarket.shx +0 -0
  27. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_supermarkets.cpg +0 -0
  28. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_supermarkets.dbf +0 -0
  29. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_supermarkets.prj +0 -0
  30. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_supermarkets.qmd +0 -0
  31. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_supermarkets.shp +0 -0
  32. {huff-1.5.0 → huff-1.5.2}/huff/tests/data/Haslach_supermarkets.shx +0 -0
  33. {huff-1.5.0 → huff-1.5.2}/huff.egg-info/SOURCES.txt +0 -0
  34. {huff-1.5.0 → huff-1.5.2}/huff.egg-info/dependency_links.txt +0 -0
  35. {huff-1.5.0 → huff-1.5.2}/huff.egg-info/requires.txt +0 -0
  36. {huff-1.5.0 → huff-1.5.2}/huff.egg-info/top_level.txt +0 -0
  37. {huff-1.5.0 → huff-1.5.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huff
3
- Version: 1.5.0
3
+ Version: 1.5.2
4
4
  Summary: huff: Huff Model Market Area Analysis
5
5
  Author: Thomas Wieland
6
6
  Author-email: geowieland@googlemail.com
@@ -18,16 +18,11 @@ 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()
21
+ ## Updates v1.5.2
27
22
  - 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
23
+ - HuffModel.ml_fit(): Correct values of expected T_j, corrected calculation of model fit metrices when fit_by="totals"
24
+ - HuffModel.ml_fit(): Check if sum of E_ij != sum of T_j
25
+
31
26
 
32
27
  ## Features
33
28
 
@@ -35,7 +30,7 @@ See the /tests directory for usage examples of most of the included functions.
35
30
  - Defining origins and destinations with weightings
36
31
  - Creating interaction matrix from origins and destinations
37
32
  - Different function types: power, exponential, logistic
38
- - Huff model parameter estimation via Maximum Likelihood (ML) by probalities and customer flows
33
+ - Huff model parameter estimation via Maximum Likelihood (ML) by probalities, customer flows, and total market areas
39
34
  - Huff model market simulation
40
35
  - **Multiplicative Competitive Interaction Model**:
41
36
  - Log-centering transformation of interaction matrix
@@ -10,16 +10,11 @@ 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()
13
+ ## Updates v1.5.2
19
14
  - 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
15
+ - HuffModel.ml_fit(): Correct values of expected T_j, corrected calculation of model fit metrices when fit_by="totals"
16
+ - HuffModel.ml_fit(): Check if sum of E_ij != sum of T_j
17
+
23
18
 
24
19
  ## Features
25
20
 
@@ -27,7 +22,7 @@ See the /tests directory for usage examples of most of the included functions.
27
22
  - Defining origins and destinations with weightings
28
23
  - Creating interaction matrix from origins and destinations
29
24
  - Different function types: power, exponential, logistic
30
- - Huff model parameter estimation via Maximum Likelihood (ML) by probalities and customer flows
25
+ - Huff model parameter estimation via Maximum Likelihood (ML) by probalities, customer flows, and total market areas
31
26
  - Huff model market simulation
32
27
  - **Multiplicative Competitive Interaction Model**:
33
28
  - Log-centering transformation of interaction matrix