-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from cglewis/master
cleanup globals for tests
- Loading branch information
Showing
11 changed files
with
104 additions
and
62 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 |
---|---|---|
|
@@ -34,6 +34,6 @@ | |
"time constant": 86400, | ||
"threshold": 0.99, | ||
|
||
"rnn size": 128, | ||
"rnn size": 100, | ||
"batch size": 32 | ||
} |
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
from DeviceClassifier.OneLayer.test_OneLayer import calc_f1 | ||
from DeviceClassifier.OneLayer.eval_OneLayer import lookup_key | ||
from DeviceClassifier.OneLayer.eval_OneLayer import get_address_info | ||
from DeviceClassifier.OneLayer.eval_OneLayer import get_previous_state | ||
from DeviceClassifier.OneLayer.eval_OneLayer import average_representation | ||
from DeviceClassifier.OneLayer.eval_OneLayer import update_data | ||
from DeviceClassifier.OneLayer.eval_OneLayer import basic_decision | ||
|
||
def test_calc_f1(): | ||
calc_f1({}) |
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
from DeviceClassifier.RandomForest.test_RandomForest import calc_f1 | ||
from DeviceClassifier.RandomForest.eval_RandomForest import lookup_key | ||
from DeviceClassifier.RandomForest.eval_RandomForest import get_address_info | ||
from DeviceClassifier.RandomForest.eval_RandomForest import get_previous_state | ||
from DeviceClassifier.RandomForest.eval_RandomForest import average_representation | ||
from DeviceClassifier.RandomForest.eval_RandomForest import update_data | ||
from DeviceClassifier.RandomForest.eval_RandomForest import basic_decision | ||
|
||
def test_calc_f1(): | ||
calc_f1({}) |
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.