lapis-hong / wide_deep Goto Github PK
View Code? Open in Web Editor NEWWide and Deep Learning for CTR Prediction in tensorflow
License: MIT License
Wide and Deep Learning for CTR Prediction in tensorflow
License: MIT License
I see you process multivalue features in dataset.py, but not used in feature column, is that right?
How can the multivalue features be used ?
waiting for the response~
Thanks a lot!
The data input need a ordered schema. While you use yaml.load() to load the schema, which return a dict. How can you keep the right order of the feature names to read the corret columns in the input data?
Hello,I found a performance issue in the definition of input_fn
,
Lapis-Hong/wide_deep/blob/master/python/lib/utils/create_record.py,
dataset = dataset.map(_parse_function) was called without num_parallel_calls.
I think it will increase the efficiency of your program if you add this.
Here is the documemtation of tensorflow to support this thing.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
when i use multivalue feature, such as [['a', 'b', 'c'], ['a', 'b']].
the program will report bug like: cannot batch elements of different shape. element 0 has shape [3], but element 1 has shape [2].
i know the different shape of multivalue feature result in this bug.
i think the function Dataset.padded_batch maybe solve the problem, i write like dataset = dataset.padded_batch(5, padded_shapes=[None])
, it reported bug TypeError: If shallow structure is a sequence, input must also be a sequence. Input has type: list
so, how can i process the multivalue exactly?
i am eager to solve this problem, can anyboby help me? thanks a lot!
hi, in the tf servering client.py , when the input data one feature is need split (like the input_fn function in dataset.py) , like 'a#b#c' , how can we deal with it?
thanks for answering.
The current client.cc seems like a demo for image classificaiton? can you provide a corresponding c++ demo for the wide_deep model?
I didn't know how to prepare the input for this case.
** How to process the raw feature same as the feature_column(training process) in c++ prediction? **
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.