Skip to content

Commit

Permalink
missed these
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Normoyle committed Jan 8, 2014
1 parent 608824c commit 9282354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/h2o_kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def bigCheckResults(self, kmeans, csvPathname, parseResult, applyDestinationKey,
kmeansResult = h2o_cmd.runInspect(key=model_key)
h2o.verboseprint('kmeans result:', h2o.dump_json(kmeansResult))
model = kmeansResult['KMeansModel']
centers = model['centers']
centers = model['clusters']
error = model["error"]

if h2o.beta_features:
Expand Down
1 change: 1 addition & 0 deletions py/testdir_single_jvm/test_KMeans_hastie_shuffle_fvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def tearDownClass(cls):

clusters1 = {}
def test_KMeans_hastie_shuffle_fvec(self):
h2o.beta_features = True
# gunzip it and cat it to create 2x and 4x replications in SYNDATASETS_DIR
# FIX! eventually we'll compare the 1x, 2x and 4x results like we do
# in other tests. (catdata?)
Expand Down
2 changes: 1 addition & 1 deletion py/testdir_single_jvm/test_rf_histo_fail_fvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_rf_params_rand2_fvec(self):
start = time.time()
parseResult = h2i.import_parse(bucket='home-0xdiag-datasets', path=csvPathname, schema='put')
rfSeed = random.randint(0, sys.maxint)
kwargs.update('seed': rfSeed)
kwargs.update({'seed': rfSeed})

h2o_cmd.runRF(parseResult=parseResult, timeoutSecs=timeoutSecs, retryDelaySecs=1, **kwargs)
elapsed = time.time()-start
Expand Down

0 comments on commit 9282354

Please sign in to comment.