문제

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