transfm's People
Forkers
wubinzzu louiedinh mindis shubhampachori12110095 wurentidai lwj314 raihan2108 bowcr zjuweifeng macfarll thanhtd91 qianrenjian macqing jerrycatleung jinzitian marsstones martkir cse-ljl yang-xh copyhao arita37 hanzheli world4jason shawnsu007 crystal22transfm's Issues
user data
How do you get the csv file with numeric features of users? Thanks for your help.
Where can I download the experimental data set?
Where can I download the experimental data set? thanks~
Possible error in prediction operation
Hi,
I think there could be an error in the factorization machine prediction operations. Possibly also in the translation-based factorization machine prediction operations. Its seems that all the features are summed up already in the sparse_tensor_dense_matmul
operation.
The operations for the positive predictions are for example:
pos_emb_mul = tf.sparse_tensor_dense_matmul(sparse_pos_feats, var_factors)
term_1_pos = tf.square(tf.reduce_sum(pos_emb_mul, axis=1, keep_dims=True))
term_2_pos = tf.reduce_sum(tf.square(pos_emb_mul), axis=1, keep_dims=True)
pos_preds = pos_linear + 0.5 * (term_1_pos - term_2_pos)
This would result in the following model:
Instead of the desired model:
The following changed operations might fix the problem:
term_1_pos = tf.sparse_tensor_dense_matmul(sparse_pos_feats, var_factors)
term_1_pos = tf.reduce_sum(tf.square(term_1_pos), axis=1, keep_dims=True)
term_2_pos = tf.sparse_tensor_dense_matmul(tf.square(sparse_pos_feats), tf.square(var_factors))
term_2_pos = tf.reduce_sum(term_2_pos, axis=1, keep_dims=True)
pos_preds = pos_linear + 0.5 * (term_1_pos - term_2_pos)
Am I right here or am I missing something?
Best regards,
Markus
How to set the filename and feature model?
But I cant go https://jmcauley.ucsd.edu/data/amazon/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.