Comments (3)
안녕하세요. 박해선입니다.
여러분 문의 주셨다니 제가 미처 답을 못드렸다면 죄송합니다.
말씀하신 부분 확인해서 답변 드리겠습니다.
감사합니다.
from do-it-dl.
안녕하세요. imdb 데이터셋은 0, 1, 2 가 각각 패딩, 시작, OOV 로 약속되어 있습니다.
따라서 -3을 빼야 어휘사전(get_word_index()에서 반환된 해시)과 일치합니다.
텐서플로 코드를 참고하세요.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/datasets/imdb.py#L144
예를 들어 imdb.load_data(num_words=10)
로 데이터를 받으면 대부분이 2(OOV)로 채워진 배열이 반환됩니다.
궁금한 점 있으면 알려 주세요.
감사합니다.
from do-it-dl.
from do-it-dl.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from do-it-dl.