A user tried importing FastText and received the following error. How to fix that?

936    Asked by FelicaLaplaca in Data Science , Asked on Dec 24, 2019
Answered by Felica Laplaca

The initial code is given below

The following error is given below


Here, the error is a valueError stating that a smaller minCount value will be worth a try. The default value of minCount is set to 5. Hence to fix that error, smaller minCountupto 1 will solve our problem. The code must be reset as follows



Your Answer

Interviews

Parent Categories