Re: stratified sampling scales poorly

2016-12-22 Thread Liang-Chi Hsieh
y1”-> fraction, “key2”-> fraction, …, “keyn”-> > fraction). > > I have a question is that why stratified sampling scales poorly with > different sampling fractions in this context? meanwhile simple random > sampling scales well with different sampling fractions (I ran experime

stratified sampling scales poorly

2016-12-19 Thread Martin Le
m(x => x.sampleByKeyExact(false, fractions)) where fractions = Map(“key1”-> fraction, “key2”-> fraction, …, “keyn”-> fraction). I have a question is that why stratified sampling scales poorly with different sampling fractions in this context? meanwhile simple random sampling scales well