Giter VIP home page Giter VIP logo

tensorflow-tutorial's Introduction

ko-fi

Tensorflow Tutorials

Pre-requisites

Make sure you have python3 installed.

python --version

If this returns Python 2.X.X then try this:

python3 --version

This should return Python 3.X.X. If it fails then you will need to install Python3. Follow the instructions for your operating system to install it.

Setup

We will be using a virtual environment for these tutorials. This keeps all the dependencies nicely isolated from the rest of your python installation.

This will create a virtual environment:

python3 -m venv venv

We then activate our virtual environment using:

. ./venv/bin/activate

It's also worth making sure pip is up to date:

pip install --upgrade pip

And then we install our dependencies using:

pip install -r requirements.txt

Running

Activate the virtual environment that you created in the Setup steps:

. ./venv/bin/activate

And then run:

jupyter notebook .

You can now open the various notebooks.

Notebooks

1. Binary Classification With TensorFlow

This notebook demonstrates how to classify inputs into 2 categories, True or False.

Video

2. Categorical Classification With TensorFlow

This notebook demonstrates how to classify inputs into multiple potential categories - e.g. Cat, Dog, Horse, Cow...

Video

3. Sparse Categorical Crossentropy Loss Function

This notebook demonstrates how to use the Sparse Categorical Crossentropy loss function which is similar to the Categorical Crossentropy cost function but removes the need for one-hot encoding the training labels.

tensorflow-tutorial's People

Contributors

cgreening avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.