-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Describe the bug
While trying to recreate the steps from https://pycaret.gitbook.io/docs/get-started/quickstart#natural-language-processing
the code fragment s = setup(data, target = 'en')
fails
To Reproduce
- On Ubuntu:
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
Codename: jammy
conda create --name env_1Pycaret python=3.9
conda activate env_1Pycaret
pip install pycaret
python -m spacy download en_core_web_sm
1a: open Test_NLP.ipynb in vscode
# load dataset
from pycaret.datasets import get_data
data = get_data('kiva')
# print first document
print(data['en'][0])
# init setup
from pycaret.nlp import *
s = setup(data, target = 'en')
- On Colab
!pip install pycaret
# load dataset
from pycaret.datasets import get_data
data = get_data('kiva')
# print first document
print(data['en'][0])
# init setup
from pycaret.nlp import *
s = setup(data, target = 'en')
Versions
'2.3.10'