From charlesreid1

 
(6 intermediate revisions by one other user not shown)
Line 8: Line 8:


Engineering TensorFlow Models: [[GCDEC/Engineering_Tensorflow/Notes]]
Engineering TensorFlow Models: [[GCDEC/Engineering_Tensorflow/Notes]]
=Example TensorFlow Networks=
This section contains a list of TensorFlow networks that have writeups on the wiki.
==TensorFlow Models Repository==
Writeups of models from https://github.com/tensorflow/models
===MNIST===
[[TensorFlow/MNIST]] - illustrating a basic convolutional network to do handwritten digit classification
[[TensorFlow/MNIST2]] - a more, uh, convoluted example of how to do convolutional neural networks (lower-level, manual initialization and layer assembly, etc.)
===Adversarial Neural Networks===
[[TensorFlow/Adversarial Crypto]] - a triplet adversarial neural network configuration (encoder/decoder/eavesdropper networks corresponding to Alice/Bob/Eve).
===Research Networks===
[[TensorFlow/Differential Privacy]] - a research neural network configuration intended to help protect the privacy of users in crowdsourced data sets. Main challenge is in minimizing a non-convex loss function.


=Usage and Components=
=Usage and Components=
Line 14: Line 36:


[[TensorFlow/Command Line Args]] - notes on using command line arguments in TensorFlow models
[[TensorFlow/Command Line Args]] - notes on using command line arguments in TensorFlow models
==Projector==
The embedding projector site is a page that uses (?) TensorFlow to create lower-dimensional visualizations from higher-dimensional data. There are several visualization options, including tSNE and PCA.
Link: http://projector.tensorflow.org/


==The Influence of Google Technologies==
==The Influence of Google Technologies==
Line 56: Line 85:
** both linear and deep models
** both linear and deep models
** wide and deep network
** wide and deep network
* https://github.com/tensorflow/nmt - machine translation tutorial using TensorFlow
* https://github.com/tensorflow/k8s - tools for running TensorFlow using Kubernetes
* https://github.com/tensorflow/agents - agents provides examples of doing batch reinforcement learning in TensorFlow using agents
* https://github.com/tensorflow/tensorboard - TensorBoard is a visualization tool for TensorFlow
* https://github.com/tensorflow/transform - a library for doing transforms on input data for preprocessing (e.g., with Apache Beam)
** getting started guide: https://github.com/tensorflow/transform/blob/master/getting_started.md
** import the library as <code>import tensorflow_transform as tft</code>
** define transforms as <code>x_centered = x - tft.mean(x)</code>, where x is a Tensor object
** the preprocessing function is passed Tensors in batches, not individually; operations/functions are applied to single tensors at a time; these operations are then "broadcast" to the entire tensor
* https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/learn/python/learn - previously "skflow", this is a simplified, high-level interface to TensorFlow for learning
** documented here: https://www.tensorflow.org/api_docs/python/tf/contrib/learn
** also provides interfaces to Pandas dataframes (yay!)


===Other Repositories===
===Other Repositories===
Line 64: Line 111:


=Flags=
=Flags=
{{PythonFlag}}


[[Category:NN]]
[[Category:NN]]
[[Category:ML]]
[[Category:ML]]
[[Category:TensorFlow]]
[[Category:TensorFlow]]

Latest revision as of 20:12, 11 May 2025

Notes

Google Cloud Data Engineering Certification Course

Building TensorFlow Models: GCDEC/Building_Tensorflow/Notes

Deploying TensorFlow Models: GCDEC/Deploying_Tensorflow/Notes

Engineering TensorFlow Models: GCDEC/Engineering_Tensorflow/Notes

Example TensorFlow Networks

This section contains a list of TensorFlow networks that have writeups on the wiki.

TensorFlow Models Repository

Writeups of models from https://github.com/tensorflow/models

MNIST

TensorFlow/MNIST - illustrating a basic convolutional network to do handwritten digit classification

TensorFlow/MNIST2 - a more, uh, convoluted example of how to do convolutional neural networks (lower-level, manual initialization and layer assembly, etc.)

Adversarial Neural Networks

TensorFlow/Adversarial Crypto - a triplet adversarial neural network configuration (encoder/decoder/eavesdropper networks corresponding to Alice/Bob/Eve).

Research Networks

TensorFlow/Differential Privacy - a research neural network configuration intended to help protect the privacy of users in crowdsourced data sets. Main challenge is in minimizing a non-convex loss function.

Usage and Components

Command Line Arguments

TensorFlow/Command Line Args - notes on using command line arguments in TensorFlow models


Projector

The embedding projector site is a page that uses (?) TensorFlow to create lower-dimensional visualizations from higher-dimensional data. There are several visualization options, including tSNE and PCA.

Link: http://projector.tensorflow.org/

The Influence of Google Technologies

An interesting blog post that highlights the influence of Google Technologies on TensorFlow: http://planspace.org/20170313-tensorflow_use_of_google_technologies/

This includes:

  • gflags
  • apputils (now abseil)
  • bazel
  • protobuf
  • grpc
  • gemmlowp
  • gfile

Github

My Repositories

Other Repositories

Official Repositories

  • https://github.com/GoogleCloudPlatform/training-data-analyst - models and examples for the TensorFlow section of the Google Cloud Data Engineering training
    • relevant code is in courses/machine_learning/
    • contains sequential buildup of a simple tensorflow example into a more complex tensorflow example in courses/machine_learning/tensorflow
    • contains example bundled app for training/predictions using Cloud ML Engine in courses/machine_learning/cloudmle
  • https://github.com/GoogleCloudPlatform/cloudml-samples - examples that demonstrate how to use Cloud ML Engine; this demonstrates multiple techniques:
    • training a Keras model using Cloud ML Engine
    • using "canned" TensorFlow estimator
    • using custom TensorFlow estimator
    • using low-level TensorFlow API
    • both linear and deep models
    • wide and deep network
  • https://github.com/tensorflow/transform - a library for doing transforms on input data for preprocessing (e.g., with Apache Beam)
    • getting started guide: https://github.com/tensorflow/transform/blob/master/getting_started.md
    • import the library as import tensorflow_transform as tft
    • define transforms as x_centered = x - tft.mean(x), where x is a Tensor object
    • the preprocessing function is passed Tensors in batches, not individually; operations/functions are applied to single tensors at a time; these operations are then "broadcast" to the entire tensor

Other Repositories

Flags