-1

How to do manual calculation of CountVectorizer from scikit-learn? Or any source that can help me.

Ahmed Ashour
  • 5,179
  • 10
  • 35
  • 56
em Fadlizi
  • 15
  • 2
  • CountVectorizer just counts the occurences of words in docs and nothing else. Have you checked [the docs](http://scikit-learn.org/stable/modules/feature_extraction.html#text-feature-extraction)? Here's [my answer 1 with steps](https://stackoverflow.com/a/49775000/3374996) and [my answer 2](https://stackoverflow.com/a/42451555/3374996) with simple example. – Vivek Kumar Jul 13 '18 at 11:11
  • oh now i get it, thank you very much sir. – em Fadlizi Jul 13 '18 at 11:15
  • @VivekKumar It sounds like this is a duplicate. If so, please vote to close as a duplicate. – Makyen Jul 13 '18 at 11:49

1 Answers1

-1

Countvectorizer just counts the frequency of the each word of whole corpus in the given string. please check docs for more information.

Ravi
  • 2,778
  • 2
  • 20
  • 32