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

compute embeddings error #7

Open
kulturevulture opened this issue Nov 9, 2021 · 1 comment
Open

compute embeddings error #7

kulturevulture opened this issue Nov 9, 2021 · 1 comment

Comments

@kulturevulture
Copy link

The following code from README.Rmd results in errors when executed in RStudio Version 1.4.1106 with R version 4.0.4 (64-bit):

embedding_size <- 5

interview_term_vectors <- embed_terms(merged_terms = interviews, embedding_size = embedding_size,

  •                                    term_count_min = 1L)
    

Error in initialize(...) :
unused arguments (word_vectors_size = 5, vocabulary = list(c("fever", "rhinitis", "cough", "eye", "thyroid"), c(3, 3, 4, 4, 6), c(3, 3, 4, 4, 6)))

examination_term_vectors <- embed_terms(merged_terms = examinations, embedding_size = embedding_size,

  •                                      term_count_min = 1L)
    

Error in initialize(...) :
unused arguments (word_vectors_size = 5, vocabulary = list(c("fever", "man", "mother", "cough", "heart", "patient", "thyroid", "eye", "rhinitis", "woman", "father"), c(2, 2, 2, 3, 3, 3, 3, 4, 5, 6, 7), c(2, 2, 2, 3, 3, 3, 3, 4, 5, 6, 7)))

embedding_size <- 5

interview_term_vectors <- embed_terms(merged_terms = interviews, embedding_size = embedding_size,

  •                                    term_count_min = 1L)
    

Error in initialize(...) :
unused arguments (word_vectors_size = 5, vocabulary = list(c("fever", "rhinitis", "cough", "eye", "thyroid"), c(3, 3, 4, 4, 6), c(3, 3, 4, 4, 6)))

@abdullahdmc
Copy link

I faced the same issue as kulturevulture. It shows the same embedding error. Need a quick solution.

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

2 participants