Data Utils - TFLearn
tflearn.org › data_utilstflearn.data_utils.load_csv (filepath, target_column=-1, columns_to_ignore=None, has_header=True, categorical_labels=False, n_classes=None) Load data from a CSV file. By default the labels are considered to be the last column, but it can be changed by filling 'target_column' parameter. Arguments. filepath: str. The csv file path.
Data Utils - TFLearn
tflearn.org/data_utilsVocabulary Processor. tflearn.data_utils.VocabularyProcessor (max_document_length, min_frequency=0, vocabulary=None, tokenizer_fn=None). Maps documents to sequences of word ids. Arguments. max_document_length: Maximum length of documents. if documents are longer, they will be trimmed, if shorter - padded.; min_frequency: Minimum frequency of words in the …