Tensorflow: Difference between revisions

From bradwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Below I've embedded a neural network classifier rendered in a [http://playground.tensorflow.org Tensorflow playground]. There are a variety of knobs, buttons, numbers, and pictures on the interface; I will explain what they all mean as we go along. For now though, let's define our primary goal throughout this tutorial...


Our primary task is to train neural nets to classify items into 1 of 2 categories. Here we represent those categories as either an orange dot or blue dot. You can think of these dots as CASE and CTRL participants in an Alzheimer's Disease (AD) study. For the heck of it, say blue dots represent CASE and orange dots represent CTRL.


In this first example, let's say...
* dim-1 (x-axis): '''''braak score'''''
* dim-2 (y-axis): '''''age'''''


Notice the dots form clusters. If you were asked to draw a line on this plane, to separate these two clusters, it could be easily done. Our brain's neural nets have already solved the the spatial problem. Now let's see if an artificial neural net can solve the same problem.


Go ahead and click the blue ''start'' button below; let it run for about 20 seconds, then click pause.


{{#widget:Tensorflow1}}


{{#widget:Iframe
 
    |url=http://playground.tensorflow.org/#activation=tanh&regularization=L1&batchSize=15&dataset=gauss&regDataset=reg-plane&learningRate=0.003&regularizationRate=0.001&noise=0&networkShape=1&seed=0.73576&showTestData=false&discretize=false&percTrainData=40&x=true&y=false&xTimesY=false&xSquared=false&ySquared=false&cosX=false&sinX=false&cosY=false&sinY=false&collectStats=false&problem=classification&initZero=false&hideText=false&showTestData_hide=true&stepButton_hide=true&problem_hide=true&noise_hide=true&discretize_hide=true&regularization_hide=true&dataset_hide=true&batchSize_hide=true&percTrainData_hide=true&regularizationRate_hide=true&learningRate_hide=true&numHiddenLayers_hide=true
How did that single neuron do on the task?
    |width=1050
 
    |height=900
[[File: Tensorflow Tutorial img1.png]]
    |border=0
    |scrolling=no
    |id=fram
}}

Revision as of 02:53, 20 January 2018

Below I've embedded a neural network classifier rendered in a Tensorflow playground. There are a variety of knobs, buttons, numbers, and pictures on the interface; I will explain what they all mean as we go along. For now though, let's define our primary goal throughout this tutorial...

Our primary task is to train neural nets to classify items into 1 of 2 categories. Here we represent those categories as either an orange dot or blue dot. You can think of these dots as CASE and CTRL participants in an Alzheimer's Disease (AD) study. For the heck of it, say blue dots represent CASE and orange dots represent CTRL.

In this first example, let's say...

  • dim-1 (x-axis): braak score
  • dim-2 (y-axis): age

Notice the dots form clusters. If you were asked to draw a line on this plane, to separate these two clusters, it could be easily done. Our brain's neural nets have already solved the the spatial problem. Now let's see if an artificial neural net can solve the same problem.

Go ahead and click the blue start button below; let it run for about 20 seconds, then click pause.

{{#widget:Tensorflow1}}


How did that single neuron do on the task?