Skip to content

Commit bfe9775

Browse files
author
angela0xdata
committed
removed deprecated max_mem_size_GB option
Removed the max_mem_size_GB option in tutorials and replaced it with the current max_mem_size option. (PUBDEV-3048)
1 parent 0afa155 commit bfe9775

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tutorials/gbm-randomforest/GBM_RandomForest_Example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"outputs": [],
5555
"source": [
56-
"h2o.init(max_mem_size_GB = 2) #uses all cores by default\n",
56+
"h2o.init(max_mem_size = "2G") #specify max number of bytes. uses all cores by default.\n",
5757
"h2o.remove_all() #clean slate, in case cluster was already running"
5858
]
5959
},

tutorials/gbm-randomforest/GBM_RandomForest_Example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# In[ ]:
2626

27-
h2o.init(max_mem_size_GB = 2) #uses all cores by default
27+
h2o.init(max_mem_size = "2G") #specify max number of bytes. uses all cores by default.
2828
h2o.remove_all() #clean slate, in case cluster was already running
2929

3030

tutorials/glm/glm_h2oworld_demo.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"outputs": [],
4646
"source": [
47-
"h2o.init(max_mem_size_GB = 2) #uses all cores by default\n",
47+
"h2o.init(max_mem_size = "2G") #specify max number of bytes. uses all cores by default.\n",
4848
"h2o.remove_all() #clean slate, in case cluster was already running"
4949
]
5050
},

tutorials/glm/glm_h2oworld_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# In[ ]:
2121

22-
h2o.init(max_mem_size_GB = 2) #uses all cores by default
22+
h2o.init(max_mem_size = "2G") #specify max number of bytes. uses all cores by default.
2323
h2o.remove_all() #clean slate, in case cluster was already running
2424

2525

0 commit comments

Comments
 (0)