{"id":189036,"date":"2023-04-20T11:17:21","date_gmt":"2023-04-20T15:17:21","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=189036"},"modified":"2023-04-20T11:17:29","modified_gmt":"2023-04-20T15:17:29","slug":"installing-python-and-tensorflow-with-jupyter-notebook-configurations","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/","title":{"rendered":"Installing Python and Tensorflow with Jupyter Notebook Configurations"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">For a machine or deep learning modeling, Python is widely used with Tensorflow. This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-python-tensorflow-jupyter-notebook\">Python, Tensorflow, Jupyter Notebook<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It is common to use Anaconda for installing Python since a variety of packages (i.e. sklearn, pandas and so on) are installed automatically. Without Anaconda, we need to install Python and lots of package manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After installing Anaconda, Tensorflow is installed since Anaconda does not contain it. Next we modify some default settings of Jupyter Notebook for our working directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tensorflow is of two kinds : CPU and GPU version. This post only deals with CPU version since my laptop does not have GPU and I can&#8217;t test it. Instead, I use Google Colab when GPU Tensorflow is necessary.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python programming is usually done with user-defined virtual environments which are constructed with some specific version of Python or Tensorflow. This approach helps you avoid version conflicts. But, for the time being, it is not necessary. This will be covered when it is necessary.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A whole process of installing Python is as follows.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Install Python<\/strong>\n<ol class=\"wp-block-list\">\n<li>download and install Python<\/li>\n\n\n\n<li>run test program<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li><strong>Install Tensorflow<\/strong>\n<ol class=\"wp-block-list\">\n<li>update the latest pip<\/li>\n\n\n\n<li>install current Tensorflow for CPU<\/li>\n\n\n\n<li>run test program<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li><strong>Modify configurations of Jupyter Notebook<\/strong>\n<ol class=\"wp-block-list\">\n<li>delete two default properties<\/li>\n\n\n\n<li>generate a configuration file<\/li>\n\n\n\n<li>modify two configurations<\/li>\n\n\n\n<li>run test program<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Install Python<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download the recent Anaconda (Python 3.9 \u2022 64-Bit Graphical Installer for Windows) at&nbsp;<a href=\"https:\/\/www.anaconda.com\/products\/individual\">https:\/\/www.anaconda.com\/products\/individual<\/a>&nbsp;and install it (Anaconda3-2021.11-Windows-x86_64.exe). Follow the instructions below with default settings (Yes or Next).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"941\" height=\"398\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/01_anaconda-SH-Fintech.png\" alt=\"\" class=\"wp-image-189040 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/01_anaconda-SH-Fintech.png 941w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/01_anaconda-SH-Fintech-700x296.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/01_anaconda-SH-Fintech-300x127.png 300w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/01_anaconda-SH-Fintech-768x325.png 768w\" data-sizes=\"(max-width: 941px) 100vw, 941px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 941px; aspect-ratio: 941\/398;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1002\" height=\"388\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/03_anaconda_install-SH-Fintech.png\" alt=\"\" class=\"wp-image-189041 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/03_anaconda_install-SH-Fintech.png 1002w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/03_anaconda_install-SH-Fintech-700x271.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/03_anaconda_install-SH-Fintech-300x116.png 300w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/03_anaconda_install-SH-Fintech-768x297.png 768w\" data-sizes=\"(max-width: 1002px) 100vw, 1002px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1002px; aspect-ratio: 1002\/388;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/06_anaconda_installed-SH-Fintech.png\" alt=\"\" class=\"wp-image-189043 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When installation is finished, we can find the new menu items like the above figure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To check for whether Python is installed correctly, let&#8217;s run a sample Python code. To this end, click <strong>Spyder (anaconda3)<\/strong> or <strong>Anaconda Navigator (anaconda3) \u279c<\/strong> Spyder button and run the next sample code for a testing purpose.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Spyder is an IDE tool like R studio. PyCharm or Visual Studio Code is widely used also. You can select a favorite tool which fit you.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import numpy as np\nimport matplotlib.pyplot as plt\nfrom sklearn import svm\n \nxx, yy = np.meshgrid(np.linspace(-3, 3, 500), \n                     np.linspace(-3, 3, 500))\nnp.random.seed(0)\nX = np.random.randn(300, 2)\nY = np.logical_xor(X[:, 0] > 0, X[:, 1] > 0)\n \n# fit the model\nclf = svm.NuSVC(gamma=\"auto\")\nclf.fit(X, Y)\n \n# plot the decision function for each datapoint on the grid\nZ = clf.decision_function(np.c_[xx.ravel(), yy.ravel()])\nZ = Z.reshape(xx.shape)\n \nplt.imshow(\n    Z,\n    interpolation=\"nearest\",\n    extent=(xx.min(), xx.max(), yy.min(), yy.max()),\n    aspect=\"auto\",\n    origin=\"lower\",\n    cmap=plt.cm.PuOr_r,\n)\ncontours = plt.contour(xx, yy, Z, levels=[0], \n                       linewidths=2, linestyles=\"dashed\")\nplt.scatter(X[:, 0], X[:, 1], s=30, c=Y, \n            cmap=plt.cm.Paired, edgecolors=\"k\")\nplt.xticks(())\nplt.yticks(())\nplt.axis([-3, 3, -3, 3])\nplt.show()\n <\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As can be seen in the following results with a figure, we can find that Python is installed correctly<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/09_spider_sklearn_example_running_test-SH-Fintech.png\" alt=\"\" class=\"wp-image-189045 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Install Tensorflow<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To install Tensorflow, click&nbsp;<strong>Anaconda Prompt (anaconda3) as administrator<\/strong>&nbsp;and type two commands sequentially. In particular, Tensorflow requires the latest updated pip which is the Python installation command.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>pip install &#8211;upgrade pip<\/strong><br><strong>pip install tensorflow<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/21_tf_run_prompt_admin-SH-Fintech.png\" alt=\"\" class=\"wp-image-189047 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"891\" height=\"407\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/22_pip_upgrade_tensorflow-SH-Fintech.png\" alt=\"\" class=\"wp-image-189048 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/22_pip_upgrade_tensorflow-SH-Fintech.png 891w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/22_pip_upgrade_tensorflow-SH-Fintech-700x320.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/22_pip_upgrade_tensorflow-SH-Fintech-300x137.png 300w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/22_pip_upgrade_tensorflow-SH-Fintech-768x351.png 768w\" data-sizes=\"(max-width: 891px) 100vw, 891px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 891px; aspect-ratio: 891\/407;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To see if Tensorflow is installed properly, run the following sample code in Spyder.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># -*- coding: utf-8 -*-\n \n# TensorFlow and tf.keras\nimport tensorflow as tf\n \n# Helper libraries\nimport numpy as np\nimport matplotlib.pyplot as plt\n \nfashion_mnist = tf.keras.datasets.fashion_mnist\n(train_images, train_labels), (test_images, test_labels) \\\n    = fashion_mnist.load_data()\n \nclass_names = ['T-shirt\/top', 'Trouser', 'Pullover', \n               'Dress', 'Coat','Sandal', 'Shirt', \n               'Sneaker', 'Bag', 'Ankle boot']\n \nplt.figure()\nplt.imshow(train_images[0])\nplt.colorbar()\nplt.grid(False)\nplt.show()\n \ntrain_images = train_images \/ 255.0\ntest_images = test_images \/ 255.0\n \nplt.figure(figsize=(10,10))\nfor i in range(25):\n    plt.subplot(5,5,i+1)\n    plt.xticks([])\n    plt.yticks([])\n    plt.grid(False)\n    plt.imshow(train_images[i], cmap=plt.cm.binary)\n    plt.xlabel(class_names[train_labels[i]])\nplt.show()\n \nmodel = tf.keras.Sequential([\n    tf.keras.layers.Flatten(input_shape=(28, 28)),\n    tf.keras.layers.Dense(128, activation='relu'),\n    tf.keras.layers.Dense(10)\n])\n \nmodel.compile(optimizer='adam',\nloss=tf.keras.losses.SparseCategoricalCrossentropy(\\\n                    from_logits=True),\n              metrics=['accuracy'])\n \nmodel.fit(train_images, train_labels, epochs=10)\n \ntest_loss, test_acc = model.evaluate(test_images,  \n                        test_labels, verbose=2)\nprint('\\nTest accuracy:', test_acc)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">From the following output, we can confirm that Tensorflow is installed correctly without any problem.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/23_tf_test_running-SH-Fintech-1100x855.png\" alt=\"\" class=\"wp-image-189049 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1100px; aspect-ratio: 1100\/855;\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Modify configurations of Jupyter Notebook<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Jupyter notebook is an interactive tool which is widely used for educational or serious analytical purposes. When we click&nbsp;<strong>Jupyter Notebook (anaconda3)&nbsp;<\/strong>or&nbsp;<strong>Anaconda Navigator (anaconda3) \u279c Jupyter Notebook button&nbsp;<\/strong>, its startup page is set to a default directory which is not our working directory and Chrome is not a default browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To change its default directory to our favorite working directory and use Chrome as browser, two things are modified. In my case I want Jupyter to be run at&nbsp;<strong>D:\\py_env<\/strong>&nbsp;with&nbsp;<strong>Chrome<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At first, like the next figure,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Window Start button \u279c Anaconda3(64-bit) \u279c Jupyter Notebook (ananconda3) \u279c mouse right click More \u279c Open file location<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/11_jupyter_setting_open_location-SH-Fintech.png\" alt=\"\" class=\"wp-image-189050 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When the target folder is opened, right click&nbsp;<strong>the&nbsp;<\/strong><strong>linker<\/strong><strong>&nbsp;to Jupyter Notebook (anaconda3)<\/strong>&nbsp;\u279c Select&nbsp;<strong>Properties<\/strong>&nbsp;and delete two things like the next figure.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Delete &#8220;%USERPROFILE%\/&#8221;<\/strong>&nbsp;in Target<br><strong>Delete %HOMEPATH%<\/strong>&nbsp;in Start in<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1044\" height=\"961\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/12_jupyter_setting_delete-SH-Fintech.png\" alt=\"\" class=\"wp-image-189051 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/12_jupyter_setting_delete-SH-Fintech.png 1044w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/12_jupyter_setting_delete-SH-Fintech-700x644.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/12_jupyter_setting_delete-SH-Fintech-300x276.png 300w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/12_jupyter_setting_delete-SH-Fintech-768x707.png 768w\" data-sizes=\"(max-width: 1044px) 100vw, 1044px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1044px; aspect-ratio: 1044\/961;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, we need to generate configuration file by typing and entering the next command at Anaconda Prompt.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>jupyter notebook &#8211;generate-config<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"931\" height=\"503\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/13_jupyter_setting_genr_config-SH-Fintech.png\" alt=\"\" class=\"wp-image-189052 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/13_jupyter_setting_genr_config-SH-Fintech.png 931w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/13_jupyter_setting_genr_config-SH-Fintech-700x378.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/13_jupyter_setting_genr_config-SH-Fintech-300x162.png 300w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/13_jupyter_setting_genr_config-SH-Fintech-768x415.png 768w\" data-sizes=\"(max-width: 931px) 100vw, 931px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 931px; aspect-ratio: 931\/503;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">At&nbsp;<strong>C:\\Users\\&nbsp;<em>your-user-id<\/em>&nbsp;\\.jupyter\\&nbsp;<\/strong>, the generated configuration file is located.&nbsp;<strong>your-user-id<\/strong>&nbsp;relies on your Windows system. Open&nbsp;<strong>jupyter_notebook_config.py<\/strong>&nbsp;using a notepad and modify the following&nbsp;two things for your favorite ones.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>c.NotebookApp.notebook_dir = &#8216;D:\\SHLEE\\sh_env&#8217;<\/strong><br><strong>c.NotebookApp.browser = &#8216;C:\/Program Files\/Google\/Chrome\/Application\/chrome.exe %s&#8217;<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It is worth noting that&nbsp;<strong>delete # for each two lines<\/strong>&nbsp;before the modifications and use&nbsp;<strong>&#8220;\/&#8221;<\/strong>&nbsp;as a delimiter of a browser address.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"981\" height=\"885\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/14_jupyter_setting_modify_config-SH-Fintech.png\" alt=\"\" class=\"wp-image-189053 lazyload\" data-srcset=\"https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/14_jupyter_setting_modify_config-SH-Fintech.png 981w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/14_jupyter_setting_modify_config-SH-Fintech-700x631.png 700w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/14_jupyter_setting_modify_config-SH-Fintech-300x271.png 300w, https:\/\/ibkrcampus.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/14_jupyter_setting_modify_config-SH-Fintech-768x693.png 768w\" data-sizes=\"(max-width: 981px) 100vw, 981px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 981px; aspect-ratio: 981\/885;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Close and rerun Jupyter notebook. We can start it at our working directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/15_jupyter_changed_front_page-SH-Fintech.png\" alt=\"\" class=\"wp-image-189055 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We can also test whether the same sample codes above are running correctly in this Jupyter notebook. To create a new notebook, click&nbsp;<strong>New (which is located at the right combo menu)<\/strong>&nbsp;and select&nbsp;<strong>Python 3 (ipykernel)<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As can be seen in the screen captures below, two Python programs with sklearn or Tensorflow deliver the same results as expected. I deleted some block of redundant codes only when screenshots are captured<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" data-src=\"\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/jupyter_test-SH-Fintech.png\" alt=\"\" class=\"wp-image-189056 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Concluding Remarks<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This post dealt with an installation of Python with Tensorflow and configurations of Jupyter notebook. To see if Python is installed correctly, two sample codes using sklearn or Tensorflow are tested in Spyder and Jupyter notebook. From now on, we can concentrate on ML\/DL modeling itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Originally posted on <a href=\"https:\/\/kiandlee.blogspot.com\/2022\/03\/installing-python-and-tensorflow-with.html\">SH Fintech Modeling<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.<\/p>\n","protected":false},"author":662,"featured_media":189058,"comment_status":"open","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[339,343,349,338,341],"tags":[6922,6614,4659,1225,11708,595,6810,10991,924,15153],"contributors-categories":[13728],"class_list":["post-189036","post","type-post","status-publish","format-standard","has-post-thumbnail","category-data-science","category-programing-languages","category-python-development","category-ibkr-quant-news","category-quant-development","tag-anaconda","tag-jupyter-notebook","tag-matplotlib","tag-numpy","tag-pycharm","tag-python","tag-sklearn","tag-spyder-ide","tag-tensorflow","tag-visual-studio-code","contributors-categories-sh-fintech-modeling"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v28.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Installing Python and Tensorflow with Jupyter Notebook Configurations<\/title>\n<meta name=\"description\" content=\"This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/189036\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing Python and Tensorflow with Jupyter Notebook Configurations | IBKR Campus US\" \/>\n<meta property=\"og:description\" content=\"This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-20T15:17:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-20T15:17:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sang-Heon Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sang-Heon Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Sang-Heon Lee\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/0a959ff9de7f0465a07baa1fe1ae0200\"\n\t            },\n\t            \"headline\": \"Installing Python and Tensorflow with Jupyter Notebook Configurations\",\n\t            \"datePublished\": \"2023-04-20T15:17:21+00:00\",\n\t            \"dateModified\": \"2023-04-20T15:17:29+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/\"\n\t            },\n\t            \"wordCount\": 853,\n\t            \"commentCount\": 0,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/04\\\/python-high-level-programming.jpg\",\n\t            \"keywords\": [\n\t                \"Anaconda\",\n\t                \"Jupyter Notebook\",\n\t                \"Matplotlib\",\n\t                \"NumPy\",\n\t                \"PyCharm\",\n\t                \"Python\",\n\t                \"sklearn\",\n\t                \"Spyder IDE\",\n\t                \"TensorFlow\",\n\t                \"Visual Studio Code\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Programming Languages\",\n\t                \"Python Development\",\n\t                \"Quant\",\n\t                \"Quant Development\"\n\t            ],\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"CommentAction\",\n\t                    \"name\": \"Comment\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/#respond\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/\",\n\t            \"name\": \"Installing Python and Tensorflow with Jupyter Notebook Configurations | IBKR Campus US\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/04\\\/python-high-level-programming.jpg\",\n\t            \"datePublished\": \"2023-04-20T15:17:21+00:00\",\n\t            \"dateModified\": \"2023-04-20T15:17:29+00:00\",\n\t            \"description\": \"This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\\\/DL modeling.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/04\\\/python-high-level-programming.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/04\\\/python-high-level-programming.jpg\",\n\t            \"width\": 1000,\n\t            \"height\": 563,\n\t            \"caption\": \"Python\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/person\\\/0a959ff9de7f0465a07baa1fe1ae0200\",\n\t            \"name\": \"Sang-Heon Lee\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/sang-heonlee\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Installing Python and Tensorflow with Jupyter Notebook Configurations","description":"This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/189036\/","og_locale":"en_US","og_type":"article","og_title":"Installing Python and Tensorflow with Jupyter Notebook Configurations | IBKR Campus US","og_description":"This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/","og_site_name":"IBKR Campus US","article_published_time":"2023-04-20T15:17:21+00:00","article_modified_time":"2023-04-20T15:17:29+00:00","og_image":[{"width":1000,"height":563,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg","type":"image\/jpeg"}],"author":"Sang-Heon Lee","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sang-Heon Lee","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/"},"author":{"name":"Sang-Heon Lee","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/0a959ff9de7f0465a07baa1fe1ae0200"},"headline":"Installing Python and Tensorflow with Jupyter Notebook Configurations","datePublished":"2023-04-20T15:17:21+00:00","dateModified":"2023-04-20T15:17:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/"},"wordCount":853,"commentCount":0,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg","keywords":["Anaconda","Jupyter Notebook","Matplotlib","NumPy","PyCharm","Python","sklearn","Spyder IDE","TensorFlow","Visual Studio Code"],"articleSection":["Data Science","Programming Languages","Python Development","Quant","Quant Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/","name":"Installing Python and Tensorflow with Jupyter Notebook Configurations | IBKR Campus US","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg","datePublished":"2023-04-20T15:17:21+00:00","dateModified":"2023-04-20T15:17:29+00:00","description":"This post explains the installation of Python, Tensorflow and configuration of Jupyter notebook as a kickstart towards ML\/DL modeling.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/installing-python-and-tensorflow-with-jupyter-notebook-configurations\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg","width":1000,"height":563,"caption":"Python"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/person\/0a959ff9de7f0465a07baa1fe1ae0200","name":"Sang-Heon Lee","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/sang-heonlee\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2023\/04\/python-high-level-programming.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/189036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/662"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=189036"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/189036\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/189058"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=189036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=189036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=189036"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=189036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}