imdb nn-data (binary classification)

Published by onesixx on

predict a single discrete label

Loading DATA

R
loading data

Preprocessing

List -> Matrix

way1. pad_sequence

List를 Matrix로 reshape[sample, feature]할때, 각기 다른 행의 length를 맞추기위해
잘라내거나(truncating)나 특정value로 채워넣는(padding) 함수

R
R

way2. uF_vectorize_sequences

R
R
R
R

code

R
imdb.R

Categories: Keras

onesixx

Blog Owner

guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x