I'm trying to do feature extraction text with Sklearn, however I'm getting error
Type error:fit_transform() missing 1 required positional argument: 'raw_documents'
It seems I have to make complete some arguments with missing raw document, but i cannot find what is the caused the error, here's my code:
features=TfidfVectorizer.fit_transform(data.status).toarray()
label=data.label
features.shape
When running in the Jupyter notebook console I get the following errors:
TypeError Traceback (most recent call last)\
<ipython-input-3-614f2fa78a04> in <module>()
----> 1 features=TfidfVectorizer.fit_transform(data.status).toarray()
2 label=data.label
3 features.shape
TypeError: fit_transform() missing 1 required positional argument: 'raw_documents'