CastellanZhang / lambdaFM

Multi-thread implementation of lambdaFM with FTRL for ranking problem. LambdaFM is a learning-to-rank algorithm by combining LambdaRank and Factorization Machines.
MIT License
111 stars 31 forks source link

label 是否可以重复 #12

Open jsf961254858 opened 4 years ago

jsf961254858 commented 4 years ago

大神 请问下 label是否 可以有重复值? 例如: 2 qid:1 sex:1 age:0.3 f1:1 f3:0.9 # 1AAAAA 0 qid:1 sex:0 age:0.7 f2:0.4 f5:0.8 f8:1 # 1BBBBB 0 qid:1 sex:1 age:0.3 f1:1 f3:0.9 # 1CCCCC 1 qid:ab sex:0 age:0.2 f2:0.2 f8:1 2 qid:ab sex:1 age:0.5 f1:1 f3:0.3 2 qid:ab sex:0 age:0.1 f2:0.7 f5:0.2 f8:1