Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Prodicode committed Jul 2, 2018
1 parent 37bb461 commit d09ce0a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ script:
addons:
apt:
packages:
- python3.6
- python3-pip
- graphviz
24 changes: 24 additions & 0 deletions tests/test_ann.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import keras;
from keras.models import Sequential;
from keras.layers import Dense;

network = Sequential();
#Hidden Layer#1
network.add(Dense(units=6,
activation='relu',
kernel_initializer='uniform',
input_dim=11));

#Hidden Layer#2
network.add(Dense(units=6,
activation='relu',
kernel_initializer='uniform'));

#Exit Layer
network.add(Dense(units=1,
activation='sigmoid',
kernel_initializer='uniform'));

from ann_visualizer.visualize import ann_viz;

ann_viz(network, title="");

0 comments on commit d09ce0a

Please sign in to comment.