plot_wordcloud
Plot a wordcloud from the corpus. The text for the plot is extracted
from the column named corpus
. If there is no column with that name,
an exception is raised.
Parameters: |
index: int, str, sequence or None, optional (default=None)
title: str or None, optional (default=None)
figsize: tuple, optional (default=(10, 6)))
filename: str or None, optional (default=None)
display: bool or None, optional (default=True)
**kwargs |
Returns: |
matplotlib.figure.Figure Plot object. Only returned if display=None .
|
Example
from atom import ATOMClassifier
atom = ATOMClassifier(X_text, y_text)
atom.plot_wordcloud()