bonjour les amis j'ai une erreur No module named 'yellowbrick' alors que je l'ai installe en ligne de commande
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
from yellowbrick.text import DispersionPlot, dispersion
from yellowbrick.datasets import load_hobbies
 
# Load the text data
corpus = load_hobbies()
 
# Create a list of words from the corpus text
text = [doc.split() for doc in corpus.data]
 
# Choose words whose occurence in the text will be plotted
target_words = ['features', 'mobile', 'cooperative', 'competitive', 'combat', 'online']
 
# Create the visualizer and draw the plot
dispersion(target_words, text, colors=['olive'])

merci d'avance