Beispiel #1
0
from cadCAD.configuration import Experiment

system_model_AB_exp = Experiment()
Beispiel #2
0
sys_params = {
    'parameter': [0.1, 0.2, 0.3],
}

genesis_states = {'something': 0}

sim_config = {
    'N': MONTE_CARLO_RUNS,
    'T': range(SIMULATION_TIMESTEPS),
    'M': sys_params
}

sim_params = config_sim(sim_config)

exp = Experiment()
exp.append_configs(sim_configs=sim_params,
                   initial_state=genesis_states,
                   partial_state_update_blocks=partial_state_update_blocks)

golem_conf = {
    'NODES': 3,  # Number of nodes to utilise from the Golem Network
    'BUDGET': 10.0,  # Maximum amount of crypto you are prepared to spend
    'SUBNET':
    "community.3",  # choose your subnet, currently this is the test network
    'YAGNA_APPKEY':
    '517fa9720e9f43a7af2325a92b401e3e',  # get this from `yagna app-key list`
    'TIMEOUT': 120  # In seconds
}

Executor = Ambassador(Executor, golem_conf)
Beispiel #3
0
import os, dill
from cadCAD.configuration import Experiment

name = "cadCAD"
version = "0.4.28"
experiment = Experiment()
configs = experiment.configs

if os.name == 'nt':
    dill.settings['recurse'] = True

logo = r'''
                  ___________    ____
  ________ __ ___/ / ____/   |  / __ \
 / ___/ __` / __  / /   / /| | / / / /
/ /__/ /_/ / /_/ / /___/ ___ |/ /_/ /
\___/\__,_/\__,_/\____/_/  |_/_____/
by cadCAD
'''