-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NUP-2401: Check for prediction results discrepancies (#3558)
* NUP-2394: use YAML file for model params * NUP-2394: network API quick-start example (WIP) * NUP-2394: run inference outside network * NUP-2394: save and check all complete-examples.py predictions * NUP-2394: use YAML params in "algo" code example * NUP-2394: update comments of YAML params based on feedback * NUP-2394: scripts to compare predictions results between the 3 code examples (OPF, network API and algo) * NUP-2394: Run classification inside network. Details: * Use new network links created in NUP-2396 * Remove customCompute() usage * NUP-2394: Show RMSE in plot titles * Code review feedback: * Add unit test to make sure all 3 examples don't thow any exception * Change single quotes to double quotes everywhere * Remove utlity script to plot saved prediction results from all 3 examples * Remove part where examples save predictions to file * Rename networkapi to network for better readability * NUP-2394: Fix YAML with new CLA model name (HTMPrediction) * NUP-2394: make model_params camel case for consistency and update code sniptets * NUP-2394: re-order network creation logic: * Make the example code easier to follow in the quick-start section. * NUP-2394: fix indentation * NUP-2405: quick-start guide for the network API: * RST documentation * Code snippets * NUP-2405: Fix reference to old modelParams in OPF example: * Use YAML params instead. * NUP-2401: unit test checking consistency of predictions in docs examples: * Rename each complete-example.py module to something more specific to avoid conflicts when importing all examples in test. * Make runHotgym() method yield prediction results to turn method into generator and minimally impact docs example code. * Update examples_test.py tests to check for consistency of results predictions. * Mark failing tests as skipped for now, until we can figure out why prediction results are not the same between the 3 frameworks (OPF, Aglo and Network API) * NUP-2401: add comments in unittest.skip decorators * NUP-2401: make result example consistent with complete example. * NUP-2401: Fix merge conflict issues: * `complete-example.py` should be `complete-network-example.py` * Fix name change (TPRegion.py -> TMRegion.py) * Restore tests/unit/nupic/docs/examples_test.py * NUP-2401: fix results order
- Loading branch information
1 parent
23d3292
commit f4a9074
Showing
8 changed files
with
151 additions
and
50 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
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
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