jc-leehub / recommend-system-tf2.0 Goto Github PK
View Code? Open in Web Editor NEW原理解析及代码实战,推荐算法也可以很简单 🔥 想要系统的学习推荐算法的小伙伴,欢迎 Star 或者 Fork 到自己仓库进行学习🚀 有任何疑问欢迎提 Issues,也可加文末的联系方式向我询问!
Home Page: https://github.com/jc-LeeHub/
原理解析及代码实战,推荐算法也可以很简单 🔥 想要系统的学习推荐算法的小伙伴,欢迎 Star 或者 Fork 到自己仓库进行学习🚀 有任何疑问欢迎提 Issues,也可加文末的联系方式向我询问!
Home Page: https://github.com/jc-LeeHub/
有试过怎么保存和加载模型吗 试过很多种方法都报错了 报错说是因为subclass。。。。。
DeepFm里面的FM层应该把self.v参数去掉才对,这里面相当于对one-hot之后的embedding又做了一次embedding,换句话说这里不应该用原始完整的FM层。因为外面的embedding已经实现了FM里面的交叉矩阵。
fm的k应该是对于每个特征都用一个k向量表示,而这个代码貌似是样本中所有特征的one-hot 然后concat一起,共同用一个k表示,这相当于是每个样本用一个k向量表示了,感觉有些问题
Recommend-System-tf2.0/FGCNN/train.py
Line 47 in 921da9f
print("AUC: ", accuracy_score(y_test, pre))
AUC不是这样计算的,这是计算accuracy。您好,我看了AFM的实现代码,在layer.py中第70行将输入划分为dense_inputs和sparse_inputs,但是在后续的interaction_layer中只使用了sparse_inputs的embedding来做特征交叉,dense_inputs在后续的流程中完全没有用到,这里不是应该将dense_inputs和sparse_inputs的embedding都用来做特征交叉吗?
你好,可以共享一下data文件夹吗,或者提供一下data文件夹下载的百度或者谷歌地址
在create_criteo_dataset方法中,看到楼主对稀疏特征先采用label encoding的方法,这个情况如果后续碰到特征中新的label,应该要怎么处理呢?
静等~~
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.