Created
April 4, 2016 16:31
-
-
Save chribsen/b478371778f13da5093efaf2b7194086 to your computer and use it in GitHub Desktop.
Creates the feature same_genre_score
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update derived_friend_features set same_genre_score=FALSE; | |
update derived_friend_features AS fr set same_genre_score = TRUE | |
where (select itunes_genre FROM tmp_user_genre WHERE user_id = fr.user_a limit 1) = (select itunes_genre FROM tmp_user_genre WHERE user_id = fr.user_b limit 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment