How to use the h2o.setup_random_seed 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_KMeans_create_frame_fvec.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED
        SEED = h2o.setup_random_seed()
        h2o.init(3,java_heap_GB=4)
github h2oai / h2o-2 / py / testdir_single_jvm / test_exec2_100_quantiles.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED
        SEED = h2o.setup_random_seed()
        h2o.init(1, java_heap_GB=14)
github h2oai / h2o-2 / py / testdir_single_jvm / test_GLM2_enums_score_subset.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED
        SEED = h2o.setup_random_seed()
        h2o.init(1,java_heap_GB=1)
github h2oai / h2o-2 / py / testdir_single_jvm / test_ddply_reals_plot.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED
        SEED = h2o.setup_random_seed()
        h2o.init(CLOUD_SIZE,java_heap_GB=12/CLOUD_SIZE)
github h2oai / h2o-2 / py / testdir_multi_jvm / test_NN2_mnist_multi.py View on Github external
    @classmethod
    def setUpClass(cls):
        global SEED, tryHeap
        tryHeap = 4
        SEED = h2o.setup_random_seed()
        h2o.init(3, enable_benchmark_log=True, java_heap_GB=tryHeap)
github h2oai / h2o-2 / py / testdir_single_jvm / test_GLM_with_logit_result_1.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=10)
        else:
            h2o_hosts.build_cloud_with_hosts()
github h2oai / h2o-2 / py / testdir_multi_jvm / test_exec_arith_precedence.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_covtype20x_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(node_count=1, java_heap_GB=14)
        else:
            h2o_hosts.build_cloud_with_hosts(node_count=1)
github h2oai / h2o-2 / py / testdir_multi_jvm / test_parse_csv_download.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(2,java_heap_GB=7,use_flatfile=True)
        else:
            import h2o_hosts
            h2o_hosts.build_cloud_with_hosts()
        h2b.browseTheCloud()
github h2oai / h2o-2 / py / testdir_single_jvm / test_summary_percentile2.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(node_count=1, base_port=54327)
        else:
            h2o_hosts.build_cloud_with_hosts(node_count=1)