Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plada-0.0.7-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

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

Hashes for plada-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e873faafafa6809dd005b51d0ce2fcbeefdadf79f7c15253d09ef88f42dbf6b0
MD5 c93f38d9ab5f9c1b6418d87702f885b9
BLAKE2b-256 9c6370036b9d0f0012a74fe551c2e29faafcd923674c15feb5622e477672209b

See more details on using hashes here.

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

Hashes for plada-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d9fc551196a74201f62e9f46b56b47da56f23840fb4eb0e389097cb6dd9412
MD5 0cc3b6c2f899f84de2c9b1f43d733de9
BLAKE2b-256 698b38346592624d7cf6ca41141f8d51b3d256cc70e12956464dd0c12188027c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page