Questions tagged [duplicate]

2 questions
0
votes
1 answer

Learning with duplicate count as sample weights

I have a dataset D: X = D.drop(columns=['target']) y = D['target'] D is large, but contains huge number of duplicates - and I want to speedup the learning process. I can't simply drop these duplicates, because this will lead to bias in the…
Ars ML
  • 61
  • 3
-1
votes
1 answer

how to delete duplicate dictionaries in list of dictionaries and extract the values of dictionary?

delete duplicate dictionaries in list of dictionary and extract the values of dictionary id=842 mg=[ {"ss": 81, "rr": 842, "cd": 81}, {"ss": 842, "rr": 81, "cd": 81}, {"ss": 81, "rr": 842, "cd": 81}, …
user10296606
  • 1,784
  • 5
  • 17
  • 31