Giter VIP home page Giter VIP logo

Comments (3)

elibixby avatar elibixby commented on May 22, 2024

The way the terminology "sparse" is used in feature_columns is synonymous with categorical inputs which need a dense encoding (generally integerizing with hashes, or one hot).

This unfortunately gets confused with the meaning of "sparse" from an inputs perspective, which means "variable length input tensors". So e.g. tf.contrib.layers.create_feature_spec_for_parsing cannot be used to infer parsing spec for the columns.

In the example, we should probably be using the column.dtype property to build inputs, but this property does not reliably exist on the parent _FeatureColumn class. I'll send a fix in that should address this though, thanks for the report!

from cloudml-samples.

puneith avatar puneith commented on May 22, 2024

@ericsheetz Sorry its been a while. Can you please confirm its still an issue since we have moved everything away from contrib in TF1.4.

from cloudml-samples.

puneith avatar puneith commented on May 22, 2024

@ericsheetz Closing this issue due to no activity. Please feel to reopen or create a new issue.

from cloudml-samples.

Related Issues (20)

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.