Giter Site home page Giter Site logo

Comments (3)

rickiepark avatar rickiepark commented on June 6, 2024

안녕하세요. 박해선입니다.

여러분 문의 주셨다니 제가 미처 답을 못드렸다면 죄송합니다.
말씀하신 부분 확인해서 답변 드리겠습니다.

감사합니다.

from do-it-dl.

rickiepark avatar rickiepark commented on June 6, 2024

안녕하세요. 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.

HAYJJAY avatar HAYJJAY commented on June 6, 2024

from do-it-dl.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.