Is there a way to assign values to objects such that if you sum some values you can figure out the objects just from the sum? For example, if values are $10, $15, $20, $25, and $30, but you're given just a sum of $40, you don't know whether it's $10 and $30, or $15 and $25.
-
Show this thread
-
Context is that some ad networks don't let you view individual conversion details, but just the total. They do let you pass in a conversion value though. So I'm wondering whether we can hack the conversion values to figure out the individual conversions.
2 replies 0 retweets 0 likesShow this thread -
Replying to @mhmazur
If you can use large integers or many decimals, a trivial way to implement it is to use the nth decimal as identifier, e.g. a=0.1, b=0.01 or a=1, b=10 With more complex schemes you can store multiple items per decimal, e.g. 0.2 and 0.3 and 0.4 (assuming max 1 occurrence each)
1 reply 0 retweets 1 like -
Replying to @fchollet
Good call about being able to use 0.1, 0.01, etc. @DylanBakerCFM also mentioned just doubling numbers would work fine (0.01, 0.02, 0.04, etc). Can you elaborate storing multiple items per decimal? I don't follow.
1 reply 0 retweets 0 likes -
Replying to @mhmazur
For each decimal you can use e.g. 2, 3, 4 9 = all 3 items 5 = 2+3 6= 2+4 7 = 3+4 So did instance 9.53 tells you: 2+3+4+0.2+0.3+0.03 (unique) This assumes each item can only appear once
1 reply 0 retweets 0 likes
For instance*
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.