Browse Source

chore(nlp): run prettier

pull/2504/head
nprimo 2 months ago committed by Niccolò Primo
parent
commit
ab205d6bfa
  1. 14
      subjects/ai/nlp/README.md

14
subjects/ai/nlp/README.md

@ -209,18 +209,18 @@ Steps:
4. Using the word counter, show the 15 most used tokenized words in the datasets' tweets
5. Add to your `count_vecotrized_df` a `label` column considering the following:
- 1: Positive
- 0: Neutral
- -1: Negative
The final DataFrame should be similar to the below:
| | ... | label |
|---:|-------:|--------:|
| 0 | ... | 1 |
| 1 | ... | -1 |
| 2 | ... | -1 |
| 3 | ... | -1 |
| | ... | label |
| --: | --: | ----: |
| 0 | ... | 1 |
| 1 | ... | -1 |
| 2 | ... | -1 |
| 3 | ... | -1 |
_Resources: [sklearn.feature_extraction.text.CountVectorizer](https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html)_

Loading…
Cancel
Save