Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Flor Miriam Plaza del Arco
/
WASSA 2018
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
de1f164c
authored
Jul 06, 2018
by
geni
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
The end.
parent
f473f1df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
embeddings_lexicon_features_emotion_RNN.py
embeddings_lexicon_features_emotion_RNN.py
View file @
de1f164c
...
...
@@ -247,7 +247,7 @@ def classification_embedings_rnn(tweets_train, tweets_train_labels_numeric, twee
#model.add(Dense(16, activation='relu', kernel_initializer=glorot_uniform(seed=RANDOM_SEED), activity_regularizer=regularizers.l2(0.001)))
#model.add(Dropout(0.5))
model
.
add
(
Dense
(
len
(
CLASSES
),
activation
=
'softmax'
))
model
.
add
(
ActivityRegularization
(
l1
=
0.0
,
l2
=
0.001
))
model
.
add
(
ActivityRegularization
(
l1
=
0.0
,
l2
=
0.00
0
1
))
# summarize the model
print
(
model
.
summary
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment