Skip to content

Commit ef2da69

Browse files
Jerry Ajayaymericdamien
authored andcommitted
BugFix: Imported header file. (aymericdamien#230)
1 parent 71afab1 commit ef2da69

File tree

1 file changed

+34
-10
lines changed

1 file changed

+34
-10
lines changed

notebooks/2_BasicModels/random_forest.ipynb

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"from __future__ import print_function\n",
2626
"\n",
2727
"import tensorflow as tf\n",
28+
"from tensorflow.python.ops import resources\n",
2829
"from tensorflow.contrib.tensor_forest.python import tensor_forest\n",
2930
"\n",
3031
"# Ignore all GPUs, tf random forest does not benefit from it.\n",
@@ -35,9 +36,7 @@
3536
{
3637
"cell_type": "code",
3738
"execution_count": 2,
38-
"metadata": {
39-
"collapsed": false
40-
},
39+
"metadata": {},
4140
"outputs": [
4241
{
4342
"name": "stdout",
@@ -91,9 +90,7 @@
9190
{
9291
"cell_type": "code",
9392
"execution_count": 5,
94-
"metadata": {
95-
"collapsed": false
96-
},
93+
"metadata": {},
9794
"outputs": [
9895
{
9996
"name": "stdout",
@@ -134,9 +131,7 @@
134131
{
135132
"cell_type": "code",
136133
"execution_count": 6,
137-
"metadata": {
138-
"collapsed": false
139-
},
134+
"metadata": {},
140135
"outputs": [
141136
{
142137
"name": "stdout",
@@ -183,7 +178,7 @@
183178
"metadata": {
184179
"anaconda-cloud": {},
185180
"kernelspec": {
186-
"display_name": "Python [default]",
181+
"display_name": "Python 2",
187182
"language": "python",
188183
"name": "python2"
189184
},
@@ -198,6 +193,35 @@
198193
"nbconvert_exporter": "python",
199194
"pygments_lexer": "ipython2",
200195
"version": "2.7.12"
196+
},
197+
"varInspector": {
198+
"cols": {
199+
"lenName": 16,
200+
"lenType": 16,
201+
"lenVar": 40
202+
},
203+
"kernels_config": {
204+
"python": {
205+
"delete_cmd_postfix": "",
206+
"delete_cmd_prefix": "del ",
207+
"library": "var_list.py",
208+
"varRefreshCmd": "print(var_dic_list())"
209+
},
210+
"r": {
211+
"delete_cmd_postfix": ") ",
212+
"delete_cmd_prefix": "rm(",
213+
"library": "var_list.r",
214+
"varRefreshCmd": "cat(var_dic_list()) "
215+
}
216+
},
217+
"types_to_exclude": [
218+
"module",
219+
"function",
220+
"builtin_function_or_method",
221+
"instance",
222+
"_Feature"
223+
],
224+
"window_display": false
201225
}
202226
},
203227
"nbformat": 4,

0 commit comments

Comments
 (0)