yangxudong / deeplearning Goto Github PK
View Code? Open in Web Editor NEW深度学习相关的模型训练、评估和预测相关代码
深度学习相关的模型训练、评估和预测相关代码
hi 请教个问题 ESMM模型预估的ctr看起来正常 但是预估cvr全为0 会是什么原因呢?
感谢大佬无私的分享, 我看到w&d模型,但是没有对应数据集, 可以分享下么,~~
deepfm没有readme?能运行否?
您好,请问 nce_loss 中biases 在youtube match 模型中,使用user embedding近邻查找item embedding时,如何把 nce_biases 考虑进来呢,如果不考虑是不是就 预测、训练不一致了呢?
麻烦问下你esmm的数据是什么样的?
例如在公开数据集与内部数据上的一些AUC等指标
我看YouTubeNet原本的召回阶段使用的是softmax分类,是因为认为这个应该被理解为多分类问题,可以“同时”选择多个“下个”要播放的视频吗?
https://github.com/yangxudong/deeplearning/blob/master/youtube_match_model/youtube_match_model.py
loss = tf.nn.sigmoid_cross_entropy_with_logits(
labels=labels_one_hot,
logits=logits)
谢谢!
看了下代码,你的ctr_logits和cvr_logits里面用的数据是完全一样的, 这个有问题吧, cvr_logits用的数据应该是有点击的数据吧
你好,看到你用export_savemodel的方式导出模型,想问下predict文件该怎么写呢,是否还要包括feature column那些预处理?
请教大佬,在esmm中export_savedmodel之后得到保存的模型文件,然后想在新的session里load saved_model进行预测,这时候如果用feed_dict方式传入的话
sess.run('CTCVR:0', feed_dict={'input_example_tensor:0': [X]})
这里的X应该是什么格式呢?尝试了直接传入字符串会报如下错误
InvalidArgumentError (see above for traceback): Could not parse example input, value: '{"behaviorBids":[24844,2674,29474,2855,30250,32057,35],"behaviorC1ids":[3,5,591,1230,2],"behaviorCids":[2187,164,713,47,73,78,61],"behaviorPids":[8567830,1098681,3861814,577623,2965309,4019581,8369742],"behaviorSids":[85039235,138228,36774732,118520,46571321,49310857,38369486],"bidWeights":[0.9999832,0.99967366,0.999643,0.9995961,0.999551,0.9890053,0.9889464],"brandPrefer":0,"c1idWeights":[0.9999832,0.99967366,0.999643,0.9995961,0.9890053],"cate2Prefer":0.11423163,"catePrefer":0.04157726,"cidWeights":[0.9999832,0.99967366,0.999643,0.9995961,0.999551,0.9890053,0.9889464],"click":0,"matchScore":0.3556864,"matchType":4,"pay":0,"phoneBrand":"apple","phoneOs":"ios","phoneResolution":"375*812","pidWeights":[0.9999832,0.99967366,0.999643,0.9995961,0.999551,0.9890053,0.9889464],"popScore":0.001,"position":23,"productId":8518322,"sellerPrefer":0,"share":0,"sidWeights":[0.9999832,0.99967366,0.999643,0.9995961,0.999551,0.9890053,0.9889464],"time":1544615913,"triggerNum":1,"triggerRank":10,"type":1,"userId":41233203,"userType":0}' [[node ParseExample/ParseExample ]]
请问din模型中的din.data 跟 din_raw.data 是怎么用的呢 用户行为序列怎么解析的不太清楚 麻烦能讲解一下吗
Hello。
could you please provide some sample data for DCN?
thank you.
你好,word_cnn中,自定义模型model_fn的输入,features和labels是怎么传递的呢
哈喽,大佬
我看您的这个模型用到了RNN,请问该模型是否能够落地在手机端,转换tflite中没有什么错误吗?
多谢!
esmm 模型数据集可以提供一下吗
您好,请问一下ESMM模型构架的主任务cvr和辅助任务ctr的输入是一样的吗(所有的曝光样本)?也就是 cvr和ctr是否都是全量样本呢?还是cvr是点击样本,ctr是全量样本。
因为我看那个模型架构图,它是两个网络分别输入进去的,如果两个网络的输入是一样的,为何架构图不画成MMOE那种一个输入进去,共享底层再分成不同的任务,我这里有点疑惑。
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.