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

Reproduction of the 20 Newsgroup experiments #2

Open
wxy929 opened this issue Mar 22, 2023 · 0 comments
Open

Reproduction of the 20 Newsgroup experiments #2

wxy929 opened this issue Mar 22, 2023 · 0 comments

Comments

@wxy929
Copy link

wxy929 commented Mar 22, 2023

Hi,

I'm trying to reproducing the 20 Newsgroup experiments following the "Newsgroup.ipynb". And it seems that there is an undefined "Y_cleaned" variable in the fourth cell.

Updates: I found the code following to generate the Y_cleaned, sorry for the inconvenience. And I also tried to add

import nltk
nltk.download('stopwords')

in the fifth cell to define the "stopwords", and finally got the same dimension of mat2data(data_cleaned_new).

Thank you very much!

@wxy929 wxy929 changed the title Undefined Variable Reproduction of the 20 Newsgroup experiments Mar 22, 2023
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