Commit 06eafecd authored by 高雅喆's avatar 高雅喆

read tidb

No related merge requests found
......@@ -25,10 +25,6 @@ if __name__ == '__main__':
# User Log
# index: sample id
# columns: userId,tagId,rating
# ratings = pd.read_csv("/home/gmuser/gyz/log/cf/user_item_log.csv", sep="\t")
# ratings.drop("timestamp", inplace=True, axis=1)
# sorted_tag_ids = sorted(ratings.tagId.unique())
# cf_tags = pd.DataFrame({'tag_id': sorted_tag_ids})
ratings = get_user_log()
sorted_tag_ids = sorted(ratings.tagId.unique())
cf_tags = pd.DataFrame({'tag_id': sorted_tag_ids})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment