{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": "Example of image classification with neural network.ipynb", "provenance": [], "collapsed_sections": [], "include_colab_link": true }, "kernelspec": { "name": "python3", "display_name": "Python 3" } }, "cells": [ { "cell_type": "markdown", "metadata": { "id": "view-in-github", "colab_type": "text" }, "source": [ "" ] }, { "cell_type": "markdown", "metadata": { "id": "Ww3F3BuDkH_V", "colab_type": "text" }, "source": [ "#Example of image classification with neural network" ] }, { "cell_type": "markdown", "metadata": { "id": "HidJIZ8kkg1Q", "colab_type": "text" }, "source": [ "###First, we load the necessary libraries" ] }, { "cell_type": "code", "metadata": { "id": "QRhENDcTjx1S", "colab_type": "code", "outputId": "77348de5-0b40-45dc-f4dc-bf37ceef9694", "colab": { "base_uri": "https://localhost:8080/", "height": 65 } }, "source": [ "import numpy as np\n", "import tensorflow as tf\n", "from tensorflow import keras\n", "import matplotlib.pyplot as plt" ], "execution_count": 0, "outputs": [ { "output_type": "display_data", "data": { "text/html": [ "
\n",
"The default version of TensorFlow in Colab will soon switch to TensorFlow 2.x.
\n",
"We recommend you upgrade now \n",
"or ensure your notebook will continue to use TensorFlow 1.x via the %tensorflow_version 1.x
magic:\n",
"more info.