-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add chain hash option * Fix comment Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
- Loading branch information
1 parent
899ad76
commit 39b5d37
Showing
16 changed files
with
233 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Id | ||
Min label:0 | ||
Max label:1 | ||
bits:18 | ||
lda:0 | ||
0 ngram: | ||
0 skip: | ||
options: | ||
Checksum: 2704463348 | ||
:0 | ||
Constant:116060:0.702477 | ||
emotion^happiness:196388:0.221601 | ||
emotion^happiness^true:248861:0.205255 | ||
happiness:143395:0.341188 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Num weight bits = 18 | ||
learning rate = 0.5 | ||
initial_t = 0 | ||
power_t = 0.5 | ||
using no cache | ||
Reading datafile = train-sets/chain_hash_json_test.json | ||
num sources = 1 | ||
average since example example current current current | ||
loss last counter weight label predict features | ||
1.000000 1.000000 1 1.0 1.0000 0.0000 1 | ||
0.683985 0.367969 2 2.0 1.0000 0.3934 2 | ||
0.399624 0.115263 4 4.0 1.0000 0.5724 2 | ||
|
||
finished run | ||
number of examples = 5 | ||
weighted example sum = 5.000000 | ||
weighted label sum = 5.000000 | ||
average loss = 0.344573 | ||
total feature number = 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
0 | ||
Constant:116060:1:0@0 | ||
0.393395 | ||
Constant:116060:1:0.393395@4 happiness:143395:1:0@0 | ||
0.781713 | ||
Constant:116060:1:0.526028@5.47188 happiness:143395:1:0.255685@1.47188 | ||
0.572360 | ||
Constant:116060:1:0.57236@5.66247 emotion^happiness:196388:1:0@0 | ||
0.647337 | ||
Constant:116060:1:0.647337@6.39398 emotion^happiness^true:248861:1:0@0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Id | ||
Min label:0 | ||
Max label:1 | ||
bits:18 | ||
lda:0 | ||
0 ngram: | ||
0 skip: | ||
options: | ||
Checksum: 2704463348 | ||
:0 | ||
Constant:116060:0.651544 | ||
emotion^happiness:196388:0.218498 | ||
emotion^happiness^true:54560:0.208726 | ||
happiness:143395:0.36921 | ||
happiness^true:172839:0.297672 | ||
sadness^false:94443:0.146142 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Num weight bits = 18 | ||
learning rate = 0.5 | ||
initial_t = 0 | ||
power_t = 0.5 | ||
using no cache | ||
Reading datafile = train-sets/chain_hash_text_test.dat | ||
num sources = 1 | ||
average since example example current current current | ||
loss last counter weight label predict features | ||
1.000000 1.000000 1 1.0 1.0000 0.0000 2 | ||
0.621600 0.243201 2 2.0 1.0000 0.5068 2 | ||
0.428942 0.236284 4 4.0 1.0000 0.7267 3 | ||
|
||
finished run | ||
number of examples = 6 | ||
weighted example sum = 6.000000 | ||
weighted label sum = 6.000000 | ||
average loss = 0.352323 | ||
best constant = 1.000000 | ||
best constant's loss = 0.000000 | ||
total feature number = 13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
0 | ||
happiness:143395:1:0@0 Constant:116060:1:0@0 | ||
0.506846 | ||
happiness:143395:1:0.253423@4 Constant:116060:1:0.253423@4 | ||
0.369210 | ||
Constant:116060:1:0.36921@4.9728 happiness^true:172839:1:0@0 | ||
0.726737 | ||
Constant:116060:1:0.487168@6.56439 happiness^true:172839:1:0.239569@1.59158 sadness^false:94443:1:0@0 | ||
0.517663 | ||
Constant:116060:1:0.517663@6.86308 emotion^happiness:196388:1:0@0 | ||
0.593155 | ||
Constant:116060:1:0.593155@7.79367 emotion^happiness^true:54560:1:0@0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{"_label":1,"happiness":null} | ||
{"_label":1,"happiness":1} | ||
{"_label":1,"happiness":true} | ||
{"_label":1,"emotion":{"happiness":1}} | ||
{"_label":1,"emotion":{"happiness":"true"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
+1 | happiness | ||
+1 | happiness:1 | ||
+1 | happiness:true | ||
+1 | happiness: true sadness:false | ||
+1 |emotion happiness:1 | ||
+1 |emotion happiness:true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.