Вопрос

I want to visualize "Words/grams" used in columns of TfidfVectorizer outut in python-scikit library . Is there a way ?

I tried to to convert csr to array , but cannot see header composed of grams.

Это было полезно?

Решение

Use get_feature_names method as specified in comments by larsmans

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top