Statistic¶
-
class
Manteia.Statistic.Statistic(documents=[], labels=[], dataset_name='', path='', statistic=True, verbose=True)¶ This is the class to make statistic of text.
Args:
- documents (
list, optional, defaults to None): A list of documents.
- labels (
float, optional, defaults to None): A list of labels.
- dataset_name (
string, optional, defaults to ‘’): Name of the dataset.
- path (
string, optional, defaults to ‘’): Path to save the report.
Example:
from Manteia.Statistic import Statistic documents=['a text','text b'] labels=['a','b'] Statistic(documents,labels)
Attributes:
-
dictionnary_stat_labels()¶ récupére les stats de nombre de mot par label
- documents (