Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HINT Unit Test #499

Merged
merged 4 commits into from
Apr 5, 2023
Merged

HINT Unit Test #499

merged 4 commits into from
Apr 5, 2023

Conversation

dluuo
Copy link
Contributor

@dluuo dluuo commented Apr 4, 2023

Added a Unit Test for the HINT notebook.
It generates a random dataset, runs the HINT network on the dataset, and then checks that the outputs satisfy hierarchical coherence (within a threshold epsilon)
Also fixed minor typo in HINT class

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@kdgutier kdgutier merged commit 811d111 into Nixtla:main Apr 5, 2023
8 checks passed
kdgutier added a commit that referenced this pull request Apr 6, 2023
* feat: add alias argument

* fix: mypy hint

* tests

* HINT Unit Test (#499)

* HINT Unit Test
* Changed HINT Unit Test to use percent difference
* Changed default num_samples from 500 to 1000

While this is a good first step, median hierarchical coherence is not guaranteed by the bootstrap reconciliation method.
The unit test needs to be updated in the future for the mean hierarchical coherence.

Obtaining the mean outputs however require additional work on various NF components that we will pospone to the future.

* [FEAT] Allow pandas 2 (#508)

* feat: allow pandas 2

* fix: remove unused cell

* Added MS availability to augment_calendar_df function (#506)

* feat: compute validation loss per epoch (#507)

Co-authored-by: Kin <kin.gtz.olivares@gmail.com>

* solving merge conflict

---------

Co-authored-by: David Luo <60141418+dluuo@users.noreply.github.com>
Co-authored-by: Kin <kin.gtz.olivares@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants