Lecture Error: Chapter 2: Lecture $sampleStage

When the instructor gives the example of the sampling method used by mongodb (video: starting from 1:25 ) , he says that in the given query the sample size is greater than 5%, and since other two conditions are also true, so the pseudo-random method will apply.

Actually the sample size is less than 5% and pseudo-random method does not apply if size is more than 5%. Please verify.

@ Mahesh_56388

If you believe this is incorrect – and, assuming that the instructor is using the nycFacilities collection you can see it does appear to be incorrect – then I would suggest that you report this as an error using the “Report an issue” tab at the bottom of the screen. This goes directly to the curriculum team and gives them some specific information about course, lecture an position you’re at.

1 Like