co-locationship
Leveraging information transfer in social and co-location networks to improve predictability in human mobility
The code was tested on Python 3.6.
Install (via pypi version)
pip install colocationship
Install (via GitHub)
git clone https://github.com/Magica-Chen/co-locationship.git
cd co-locationship
The dependencies package are shown in requirements.txt, also, you can run
pip install -r requirements.txt
After installing all dependencies clone the repository and do (inside the top directory):
pip install .
This will install a copy of the code as a package. If you want to install a package that links to the cloned code, run
pip install --editable .
This makes changes to the source files in the cloned directory immediately available to everything that imports the package.
After installation, anywhere on the system you can then import the package:
import colocationship as cl
Dataset
All processed datasets (Weeplaces, BrightKite, Gowalla) we used in this repo can be found in Google Drive.
Usage
The example please refers to example/example_weeplaces.ipynb.
Metadata
Release files for colocationship 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| colocationship-2.0.tar.gz | 16.4 kB | Without provenance | Details for colocationship-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| colocationship-2.0-py3-none-any.whl | Python 3 | none | any | Details for colocationship-2.0-py3-none-any.whl |
Total release size: 38.5 kB
Release files / colocationship-2.0.tar.gz
| Download URL | colocationship-2.0.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e55749b9a4dec33a2672eff7b122f7a1f42195b8dc1b8e985ad1ec04702ad714
|
|
BLAKE2b-256 checksum How to use checksums |
139da30f7f8fba36a92faf7f319ae11062a8b1ce4927ae62ab7a59a2285dbe94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.42.1 importlib-metadata/4.11.3 keyring/21.1.0 rfc3986/1.4.0 colorama/0.4.3 CPython/3.7.6
|
Release files / colocationship-2.0-py3-none-any.whl
| Download URL | colocationship-2.0-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8a922683b3d124327d5161f781a54deffaf8c3f4324357e7bc77b421019264a
|
|
BLAKE2b-256 checksum How to use checksums |
1d0a3ef9e18cd32250c5c52253f68d9e30289b1b9ed4be6b5a8d5f3bd48eca11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.42.1 importlib-metadata/4.11.3 keyring/21.1.0 rfc3986/1.4.0 colorama/0.4.3 CPython/3.7.6
|
Security for colocationship 2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.