You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
wxy929
changed the title
Undefined Variable
Reproduction of the 20 Newsgroup experiments
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!
The text was updated successfully, but these errors were encountered: