Skip to content

Commit

Permalink
Updated histogram display for test script (#1)
Browse files Browse the repository at this point in the history
Plot the activation histograms side-by-side instead of in a stacked
format.
  • Loading branch information
eric-tramel committed Sep 21, 2015
1 parent c929208 commit 045650b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testdropout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function run_mnist()

# Plot Activations
Activations = DataFrame(Act=[vec(NoDropoutActivations);vec(DropoutActivations)],UsingDropout=[falses(vec(NoDropoutActivations));trues(vec(DropoutActivations))])
HAPlot = plot(Activations,x="Act",color="UsingDropout",Geom.histogram(bincount=100))
HAPlot = plot(Activations,x="Act",color="UsingDropout",Geom.histogram(bincount=100,density=true,position=:dodge))
draw(PDF("HiddenActivations.pdf", 12inch, 9inch), HAPlot)

return m
Expand Down

0 comments on commit 045650b

Please sign in to comment.