Coder Social home page Coder Social logo

chen-bowen / intro-to-tensorflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pythonworkshop/intro-to-tensorflow

0.0 2.0 0.0 31.24 MB

This is an introduction to tensorflow

License: Other

Jupyter Notebook 99.43% Python 0.17% CSS 0.01% TypeScript 0.36% HTML 0.04%

intro-to-tensorflow's Introduction

Binder

Introduction to TensorFlow

In this tutorial the steps needed to clean a dataset and prepare it for modeling using the machine learning library TensorFlow. The tutorial uses the Wine dataset from the UCI Machine Learning Repository.

Prerequisites

This tutorial includes several machine learning terms. To get a good mathematical understanding of these concepts, please read the Math Primer.

Installation Notes

There are a few packages you will need in order to run this tutorial. We recommend installing the miniconda environment, which makes the installation process quite easy. Please see the README file for this mornings session for instructions on how to install miniconda.

In order to run this tutorial, you will need the following Python packages:

  • numpy 1.11 or later
  • pandas 0.18 or later
  • matplotlib 1.5 or later
  • seaborn 0.7 or later
  • scikit-learn 0.17.1 or later
  • six 1.10.0 or later
  • jupyter
  • tensorflow 0.8.0

The first seven packages can be installed with the following command:

pip install seaborn scikit-learn jupyter

Alternatively if you are using conda you can do:

conda install seaborn scikit-learn jupyter

For TensorFlow, the installation depends on your environment. Below are installation instructions. For detailed instuctions, please see the TensorFlow Download and Setup page.

Note, skflow is now part of the TensorFlow library. Once you have installed TensorFlow, you can load skflow with the following command:

import tensorflow.contrib.learn as skflow

For detailed instructions about skflow, please read Skflow Readme.

NOTE:

What's better to use? The virtual environment or normal pip installation?

Playing With Outliers

I have added a fun interactive application using the Python visualization library called Bokeh. The app allows you to pick features from the wine data set and define an outlier threshold to explore how this affects the data. The application source code is in the playing_with_outliers directory and is called main.py. To run this application, you will need to install bokeh:

pip install bokeh

Then, to run the application, download the playing_with_outliers directory and its contents. Then, in the directory where you downloaded it, run:

bokeh serve --show playing_with_outliers

The application will open in your browser.

intro-to-tensorflow's People

Contributors

dmclark53 avatar alaindomissy avatar kendallc avatar giricme avatar itsmeolivia avatar bev-a-tron avatar micahstubbs avatar

Watchers

James Cloos avatar Bowen Chen 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.