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

add unit tests #19

Open
jwijffels opened this issue Oct 5, 2023 · 0 comments
Open

add unit tests #19

jwijffels opened this issue Oct 5, 2023 · 0 comments

Comments

@jwijffels
Copy link
Contributor

jwijffels commented Oct 5, 2023

Add unit tests using R package tinytest

  • to test if embeddings based on list approach and file based approach are the same for different settings of the algorithm
  • to test if the embeddings are the same across platforms
  • to test if the embeddings stay the same when the internals are changed
  • to test if the resulting dimension of the embedding is correct
  • to evaluate inconsistent input data
  • to evaluate if the expected tokens are in the data
  • to evaluate different hyperparameters of the model

avoid adding complex package dependencies in Suggests to avoid continuous integration + CRAN build & dependency issues.

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

No branches or pull requests

1 participant