PlaDa: Platform for Data market
Project description
plada
PlaDa (Platform for Data market)
Install
pipでインストール可能
$ pip install plada
$ python
>> import plada
notebookで使用する場合は!pipを利用
!pip install plada
import plada
How to use
step1:市場モデルの設定
- ただし、modelはGraphオブジェクトで、"variables"を持つ必要あり
model = nx.read_graphml("test.graphml")
step2:configによる設定
config = {
"Simulation":{
"num_iterations": 1,
"num_steps": 10,
"isPrice": False,
},
"Market":{
"model": model,
},
"Agent": {
"num_buyers": 20,
"strategy_weights": {
"random": 0.4,
"related": 0.3,
"ranking": 0.3,
},
}
}
step3:シミュレーションを実行
saver = Saver()
runner = Runner(settings=config, logger=saver)
runner.main()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plada-0.0.7.tar.gz
(7.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
plada-0.0.7-py3-none-any.whl
(9.1 kB
view details)
File details
Details for the file plada-0.0.7.tar.gz.
File metadata
- Download URL: plada-0.0.7.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e873faafafa6809dd005b51d0ce2fcbeefdadf79f7c15253d09ef88f42dbf6b0
|
|
| MD5 |
c93f38d9ab5f9c1b6418d87702f885b9
|
|
| BLAKE2b-256 |
9c6370036b9d0f0012a74fe551c2e29faafcd923674c15feb5622e477672209b
|
File details
Details for the file plada-0.0.7-py3-none-any.whl.
File metadata
- Download URL: plada-0.0.7-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d9fc551196a74201f62e9f46b56b47da56f23840fb4eb0e389097cb6dd9412
|
|
| MD5 |
0cc3b6c2f899f84de2c9b1f43d733de9
|
|
| BLAKE2b-256 |
698b38346592624d7cf6ca41141f8d51b3d256cc70e12956464dd0c12188027c
|