Parcourir la source

BugFix: Imported header file. (#230)

Jerry Ajay il y a 7 ans
Parent
commit
ef2da69b97
1 fichiers modifiés avec 34 ajouts et 10 suppressions
  1. 34 10
      notebooks/2_BasicModels/random_forest.ipynb

+ 34 - 10
notebooks/2_BasicModels/random_forest.ipynb

@@ -25,6 +25,7 @@
     "from __future__ import print_function\n",
     "\n",
     "import tensorflow as tf\n",
+    "from tensorflow.python.ops import resources\n",
     "from tensorflow.contrib.tensor_forest.python import tensor_forest\n",
     "\n",
     "# Ignore all GPUs, tf random forest does not benefit from it.\n",
@@ -35,9 +36,7 @@
   {
    "cell_type": "code",
    "execution_count": 2,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -91,9 +90,7 @@
   {
    "cell_type": "code",
    "execution_count": 5,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -134,9 +131,7 @@
   {
    "cell_type": "code",
    "execution_count": 6,
-   "metadata": {
-    "collapsed": false
-   },
+   "metadata": {},
    "outputs": [
     {
      "name": "stdout",
@@ -183,7 +178,7 @@
  "metadata": {
   "anaconda-cloud": {},
   "kernelspec": {
-   "display_name": "Python [default]",
+   "display_name": "Python 2",
    "language": "python",
    "name": "python2"
   },
@@ -198,6 +193,35 @@
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython2",
    "version": "2.7.12"
+  },
+  "varInspector": {
+   "cols": {
+    "lenName": 16,
+    "lenType": 16,
+    "lenVar": 40
+   },
+   "kernels_config": {
+    "python": {
+     "delete_cmd_postfix": "",
+     "delete_cmd_prefix": "del ",
+     "library": "var_list.py",
+     "varRefreshCmd": "print(var_dic_list())"
+    },
+    "r": {
+     "delete_cmd_postfix": ") ",
+     "delete_cmd_prefix": "rm(",
+     "library": "var_list.r",
+     "varRefreshCmd": "cat(var_dic_list()) "
+    }
+   },
+   "types_to_exclude": [
+    "module",
+    "function",
+    "builtin_function_or_method",
+    "instance",
+    "_Feature"
+   ],
+   "window_display": false
   }
  },
  "nbformat": 4,