colocationship-2.0
توضیحات
A light package for build and analyse co-locationship for paper: Contrasting social and non-social sources of predictability in human mobility
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | colocationship-2.0 |
| نام | colocationship |
| نسخه کتابخانه | 2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zexun Chen |
| ایمیل نویسنده | sxtpy2010@gmail.com |
| آدرس صفحه اصلی | https://github.com/Magica-Chen/co-locationship |
| آدرس اینترنتی | https://pypi.org/project/colocationship/ |
| مجوز | - |



[](https://zenodo.org/badge/latestdoi/309197285)


# 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:
```python
import colocationship as cl
```
## Dataset
All processed datasets (Weeplaces, BrightKite, Gowalla) we used in this repo can be found in [Google Drive](https://drive.google.com/drive/folders/1C71Atf4x7eTAEazAPehih5_zkBqqfX4M?usp=sharing).
## Usage
The example please refers to `example/example_weeplaces.ipynb`.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl colocationship-2.0:
pip install colocationship-2.0.whl
نصب پکیج tar.gz colocationship-2.0:
pip install colocationship-2.0.tar.gz