Skip to content

update get_feature_names() to get_feature_names_out()#314

Open
j6e wants to merge 1 commit intoddangelov:masterfrom
j6e:patch-1
Open

update get_feature_names() to get_feature_names_out()#314
j6e wants to merge 1 commit intoddangelov:masterfrom
j6e:patch-1

Conversation

@j6e
Copy link

@j6e j6e commented Jan 19, 2023

Since recent versions scikik-learn has changed the get_feature_names() function in his vectorizers to get_feature_names_out(). This change solves the issue #307

Since recent versions scikik-learn has changed the get_feature_names() function in his vectorizers to get_feature_names_out(). This change solves the issue.
@levrone1987
Copy link

I had the same problem, but it persists even after

pip install top2vec -U

What should I do?

@Lotfi-AL
Copy link

Easiest fix is to fork the project and include the changes you want.
then you can install with pip install git+repositoryurl.git#egg=top2vec
Important to include egg=top2vec and to uninstall top2vec before installing in this way.

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.

3 participants