How to use the h2o.build_cloud function in h2o

To help you get started, we’ve selected a few h2o examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github h2oai / h2o-2 / py / testdir_multi_jvm / test_exec2_col_scalar.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        SEED = h2o.setup_random_seed()
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(3,java_heap_GB=4)
        else:
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_single_jvm / test_rf_params_rand2_4201285065147091758.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        # SEED = h2o.setup_random_seed()
        SEED = 4201285065147091758
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(node_count=1, java_heap_GB=10)
        else:
            h2o_hosts.build_cloud_with_hosts(node_count=1, java_heap_GB=10)
github h2oai / h2o-2 / py / testdir_single_jvm / test_GLM_ints_unbalanced.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        SEED = h2o.setup_random_seed()
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(1,java_heap_GB=1)
        else:
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_single_jvm / test_exec2_operators.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        SEED = h2o.setup_random_seed()
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(1, java_heap_GB=14)
        else:
            h2o_hosts.build_cloud_with_hosts(1)
github h2oai / h2o-2 / py / testdir_hosts / test_GLM_mnist_s3n.py View on Github external
    @classmethod
    def setUpClass(cls):
        # assume we're at 0xdata with it's hdfs namenode
        global localhost
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(1)
        else:
            # all hdfs info is done thru the hdfs_config michal's ec2 config sets up?
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_single_jvm_fvec / test_KMeans_covtype_fvec.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        SEED = h2o.setup_random_seed()
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(1,java_heap_GB=4)
        else:
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_0xdata_only / test_hdfs2_3.py View on Github external
    @classmethod
    def setUpClass(cls):
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(3, use_hdfs=True, hdfs_version='cdh3', hdfs_name_node='192.168.1.176')
        else:
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_single_jvm / test_parse_200k_cols.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        SEED = h2o.setup_random_seed()
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(1,java_heap_GB=14)
        else:
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_single_jvm / test_exec2_covtype_rand1.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, localhost
        SEED = h2o.setup_random_seed()
        localhost = h2o.decide_if_localhost()
        if (localhost):
            h2o.build_cloud(1)
        else:
            h2o_hosts.build_cloud_with_hosts(1)
github h2oai / h2o-2 / py / h2o_common.py View on Github external
    @classmethod
    def setUpClass(cls):
        global localhost
        localhost = h2o.decide_if_localhost()
        if (localhost):
            params = collectConf(cls)
            h2o.build_cloud(**params)
        else:
            h2o_hosts.build_cloud_with_hosts()