Skip to content

Commit

Permalink
Updating video links and other fixes for beta0 of tensorflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffheaton committed Aug 20, 2019
1 parent f6e35f8 commit 38ec3f2
Show file tree
Hide file tree
Showing 69 changed files with 19,408 additions and 21,516 deletions.
16 changes: 8 additions & 8 deletions t81_558_class_01_1_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -220,21 +220,21 @@
"This is a technical class. You will need to be able to compile and execute Python code that makes use of TensorFlow for deep learning. There are two options to you for accomplish this:\n",
"\n",
"* Install Python, TensorFlow and some IDE (Jupyter, TensorFlow, etc.)\n",
"* Use IBM Cognitive Class Labs online\n",
"* Use Google CoLab in the cloud\n",
"\n",
"## Installing Python and TensorFlow\n",
"\n",
"It is possible to install and run Python/TensorFlow entirely from your own computer. Google provides TensorFlow for Windows, Mac and Linux. Previously, TensorFlow did not support Windows. However, as of December 2016, TensorFlow supports Windows for both CPU and GPU operation.\n",
"\n",
"The first step is to install Python 3.7. As of January 2019, this is the latest version of Python 3. I recommend using the Miniconda (Anaconda) release of Python, as it already includes many of the data science related packages that will be needed by this class. Anaconda directly supports: Windows, Mac and Linux. Miniconda is the minimal set of features from the very large Anaconda Python distribution. Download Miniconda from the following URL:\n",
"The first step is to install Python 3.7. As of August 2019, this is the latest version of Python 3. I recommend using the Miniconda (Anaconda) release of Python, as it already includes many of the data science related packages that will be needed by this class. Anaconda directly supports: Windows, Mac and Linux. Miniconda is the minimal set of features from the very large Anaconda Python distribution. Download Miniconda from the following URL:\n",
"\n",
"* [Miniconda](https://docs.conda.io/en/latest/miniconda.html)\n",
"\n",
"# Dealing with TensorFlow incompatibility with Python 3.7\n",
"\n",
"*Note: I will remove this section once TensorFlow adds support for Python 3.7.\n",
"*Note: I will remove this section once all needed libraries add support for Python 3.7.\n",
"\n",
"**VERY IMPORTANT** Once Miniconda has been downloaded you must create a Python 3.6 environment. Not all TensorFlow 2.0 packages currently (as of July 2019) support Python 3.7. So you must execute the following commands:\n",
"**VERY IMPORTANT** Once Miniconda has been downloaded you must create a Python 3.6 environment. Not all TensorFlow 2.0 packages currently (as of August 2019) support Python 3.7. This is not unusual, usually you will need to stay one version back from the latest Python to maximize compatibility with common machine learning packages. So you must execute the following commands:\n",
"\n",
"```\n",
"conda create -y --name tensorflow python=3.6\n",
Expand Down Expand Up @@ -344,13 +344,13 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Tensor Flow Version: 2.0.0-dev20190725\n",
"Tensor Flow Version: 2.0.0-beta1\n",
"Keras Version: 2.2.4-tf\n",
"\n",
"Python 3.6.8 |Anaconda, Inc.| (default, Dec 29 2018, 19:04:46) \n",
"Python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 13:42:17) \n",
"[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]\n",
"Pandas 0.25.0\n",
"Scikit-Learn 0.21.2\n",
"Scikit-Learn 0.21.3\n",
"GPU is NOT AVAILABLE\n"
]
}
Expand Down Expand Up @@ -413,7 +413,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.6.9"
}
},
"nbformat": 4,
Expand Down
41 changes: 25 additions & 16 deletions t81_558_class_01_2_intro_python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Hello \"W\"orld\n"
"Hello World\n"
]
}
],
Expand All @@ -137,7 +137,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand All @@ -161,7 +161,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -189,7 +189,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -217,7 +217,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand All @@ -242,7 +242,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand All @@ -267,7 +267,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -299,7 +299,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -327,9 +327,18 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 12,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The variable a is 5\n",
"The variable b is also 6\n"
]
}
],
"source": [
"a = 5\n",
"b = 6\n",
Expand All @@ -352,7 +361,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -385,7 +394,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 14,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -418,9 +427,9 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3.6 (tensorflow)",
"language": "python",
"name": "python3"
"name": "rga"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -432,7 +441,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.6.9"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 38ec3f2

Please sign in to comment.