How Our Life Has Changed in Ten Years

In 2007,

  • The first iPhone was release.
  • GPU computing was coming into mainstream, CUDA 1.0 released.
  • The Samsung Galaxy phone didn’t exist yet.
  • The first year you longer need an invitation to get a gmail account.
  • In February 2007, the Nintendo wii outsells the XBOX and Ps4 (
  • The first Amazon Kindle is released (
  • There is no 4G network for cell phones.
  • Deep Learning doesn’t exist.
  • There is no imagenet benchmark for object recognition.
  • In the Top 500 supercomputer list, entry to the top 50 requires 16 Teraflops. NVIDIA GPUs you purchase at Best Buy can do 10 Teraflops.(ttps://,
  • The NIH launches the Human  Microbiome Project (
  • Wikipedia had 1.5 million English articles.  Today its around 5 million. (

Installing Tensorflow in Windows 7 x64 for Python 3.5

Here are my instructions to install Tensorflow (tf) in Windows 7 x64 for Python 3.5.  I have verified these instructions work to get tf working with Keras.  e sure to update your keras.json file to use the tf backend if you already use theano.  You do not need to purchase visual studio to get this to work.

I. Prerequisites

  1. Install Cuda 8.0.  Note, you must use the release version of 8.0 and NOT the release candidate.
  2. Install python35 to c:\python35 (no need for anaconda)
  3. Download cudnn (record path)
  4. Download swig (record path)
  5. Install visual studio 2015 community edition with C++.  Had to manually install c++ in visual studio 2015 community edition. went into control panel, programs and features, and did a modify
  6. Install git for windows

II. Getting the tf repository

  1. git clone
  2. cd tensorflow\tensorflow\contrib\cmake
  3. mkdir build
  4. cd build

III. Begin the tf install

  1.  “C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvarsall.bat” (make sure you are using the amd64 version)
  2. cmake .. -A x64 -DCMAKE_BUILD_TYPE=Release -DSWIG_EXECUTABLE=d:/swigwin-3.0.10/swig.exe -DPYTHON_EXECUTABLE=c:/python35/python.exe -DPYTHON_LIBRARIES=C:/Python35/libspython35.lib -Dtensorflow_ENABLE_GPU=ON -DCUDNN_HOME=D:/ASASINATR/cudnn -Dtensorflow_ENABLE_GPU=ON
  3. MSBuild /p:Configuration=Release tf_tutorials_example_trainer.vcxproj
  4. Release\tf_tutorials_example_trainer.exe (this should work if everything built correctly)

IV. Make the python wheel

  1. pip install travis pip setuptools wheel
  2. MSBuild /p:Configuration=Release tf_python_build_pip_package.vcxproj
  3. pip install D:\tensorflow\tensorflow\tensorflow\contrib\cmake\build\tf_python\dist\tensorflow-0.11.0rc2_cmake_experimental-py3-none-any.whl

If everything was successful you should be able to modify your keras.json file, load keras in python, and begin using tf.


Thanks to Derek Murray of Google for the help creating this.

Installing Theano in Windows 7 with Python 3.4

I recently upgraded my machine learning toolchain to keras and thought it would be a good time to revisit the ongoing theano + Python 3.4 + Windows 7 saga.  I found a simple set of instructions here which I tweaked a bit to get to work with my setup.  Here are the full instructions:

  1. Install python 64bit
  2. Install precompiled whl from
    1. Numpy+MKL library
    2. scipy
  3. Get GCC from (I usually have issues with GCC in Windows, however, this distribution works great out of the box believe it or not)
  4. Install theano via pip and
  5. At this point, when I tried to import theano into python 3.4, I would get linking errors.  I then installed libpython from and that resolved the issue.
  6. At the python shell, type import theano, it should work
  7. Configure your .theanorc.txt and you should be good to go.

uBiota, A New Startup Examining Your Microbiome

I was fortunate enough to have 3 samples of what I will call “gut” bacteria (you fill in the blanks) examined by a new startup, uBiota.  I have to say, I am impressed with their visualization.  Its very interactive and easy to use.  I really like the search function.



A picture is worth a thousand words, but click here and you can test drive it for yourself.

The three samples were taken on:

  1. 10-9-2015
  2. 10-6-2015 – Also analyzed by Genova Diagnostics.
  3. 10-1-2015

Apologies for not taking the samples in time order.  The second sample I also had analyzed by Genova Diagnostics for comparison. I will post results at a later date.

Full disclosure – I was given 3 sampling kits for free from uBiota.

CX 20 Cheat Sheet

SWB   SWA   Description
 0     1    Stable mode - position hold mode.
 0     2    Return to home mode
 1     1    Flight direction lock
 1     2    Altitude mode, drive at a fixed altitude (may run into hills).  Don't have to use the throttle (left paddle up-down)

Flight stability Calibration Left control pressed down left - red and green lights will blink - fly off ground for 20 seconds - lock and unlock on ground to save settings. Compass Calibration As soon as you power on the drone, turn the tx on and push the right paddle to the bottom right corner. The lights will eventually flicker yellow and green. Pick up the drone by the base keeping it level and spin yourself around 3-5 times. Now hold the drone so that front (opposite side of the battery pack access panel) is facing the floor and spin yourself again holding the drone 3-5 times. Now, place the drone on a level surface and disconnect the power. See this youtube for an example: Switch controller off - drone will land auto land where tx is

Left control pressed down left - lock motors - red light blinks 
Left control pressed down right - lock motors - red light solid

GPS lock -    green light solid
No GPS lock - green light blinking

Bottom lights blinking and drone blinking - drone battery low
Beeping on the controller means the throttle (left paddle) is in the middle.

Aux knobs are for controlling a gimbal.