Skip to main content

GitHub GitHub release (latest by date) GitHub last commit DOI GitHub Repo stars Twitter

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)

Source distribution for colocationship 2.0
File Size Uploaded
colocationship-2.0.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for colocationship 2.0
File Interpreter ABI Platform
colocationship-2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page