コード例 #1
0
def test_xgboost_example(start_client_server):
    assert ray.util.client.ray.is_connected()
    from ray.tune.examples.xgboost_example import tune_xgboost
    tune_xgboost()
コード例 #2
0
ファイル: test_client.py プロジェクト: stjordanis/ray
def test_xgboost_dynamic_resources_example(start_client_server):
    assert ray.util.client.ray.is_connected()
    from ray.tune.examples.xgboost_dynamic_resources_example import \
        tune_xgboost
    tune_xgboost(use_class_trainable=True)
    tune_xgboost(use_class_trainable=False)