반응형
불용어처리
-
Tensorflow Keras - 5 (자연어처리,IMDB 데이터 이용하기)Machine Learning/Tensorflow 2021. 3. 17. 16:42
keras data set 이용하기 IMDB 영화리뷰 데이터입니다. import numpy as np from tensorflow.keras.datasets import imdb from tensorflow.keras.models import Sequential,load_model from tensorflow.keras.layers import Dense,Dropout,LSTM, Embedding,Flatten from tensorflow.keras.preprocessing import sequence from tensorflow.keras.callbacks import ModelCheckpoint import nltk from nltk.corpus import stopwords nltk.download..