Skip to content

Commit

Permalink
Rename mini_batch -> train_samples_per_iteration for Python tests/wra…
Browse files Browse the repository at this point in the history
…ppers.

Rename mini_batch _> train_samples_per_iteration for Scala
  • Loading branch information
arnocandel committed Apr 7, 2014
1 parent 564f2a0 commit e1ead7d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ makes a prediction over train data and compute MSE of prediction."""")
hidden = Array(1+new Random(seed).nextInt(4), 1+new Random(seed).nextInt(6))
classification = true
seed = seed
mini_batch = 0
train_samples_per_iteration = 0
force_load_balance = false
replicate_training_data = true
shuffle_training_data = true
Expand Down
2 changes: 1 addition & 1 deletion py/h2o.py
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ def deep_learning(self, data_key, timeoutSecs=60, retryDelaySecs=1, initialDelay
'activation' : None,
'hidden' : None,
'epochs' : None,
'mini_batch' : None,
'train_samples_per_iteration' : None,
'seed' : None,
'adaptive_rate' : None,
'rho' : None,
Expand Down
2 changes: 1 addition & 1 deletion py/testdir_0xdata_only/test_DeepLearning_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_DeepLearning_mnist(self):
'input_dropout_ratio' : 0.2,
'hidden' : '1024,1024,2048',
'adaptive_rate' : 1,
'mini_batch' : 0, ## 0: better accuracy! -1: best scalability! 10000: best accuracy?
'train_samples_per_iteration' : 0, ## 0: better accuracy! -1: best scalability! 10000: best accuracy?
# 'rate' : 0.01,
# 'rate_annealing' : 1e-6,
# 'momentum_start' : 0.5,
Expand Down
2 changes: 1 addition & 1 deletion py/testdir_single_jvm/test_NN2_params_rand2.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def define_params():
'score_training_samples' : [None, 0, 1],
'score_validation_samples' : [None, 0, 1],
'score_interval' : [None, 0, 1],
'mini_batch' : [None, 0, 1],
'train_samples_per_iteration' : [None, 0, 1],
'diagnostics' : [None, 0, 0, 0, 0, 1],
'fast_mode' : [None, 0, 1],
'ignore_const_cols' : [None, 0, 1],
Expand Down

0 comments on commit e1ead7d

Please sign in to comment.