Timeline for Selecting N samples uniformly from a grid points
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2022 at 12:19 | history | edited | Vince | CC BY-SA 4.0 |
proper names
|
Jul 27, 2022 at 11:44 | comment | added | TK7372 | Lets say Instead selecting from the existing points, can we plot new points on polygon/shapefile uniformly instead? gis.stackexchange.com/questions/436919/… | |
Jul 27, 2022 at 11:35 | comment | added | Kalak |
You have two options in my opinion, either change the DISTANCE_MIN until you have around 100 points in output (aproximation) or in my opinion what would be better would be to just use pd.DataFrame.sample in this situation you could even try multiple random samples of 100 and test the average deviation in distances in the different samples to choose the most uniform one (this way you are sure to have 100 points and "some" uniformity
|
|
Jul 27, 2022 at 11:29 | comment | added | TK7372 | Yes that's right. | |
Jul 27, 2022 at 11:28 | comment | added | Kalak | You don't mean just the first 100 I imagine but have 100 uniformly placed over your population (points) right ? | |
Jul 27, 2022 at 10:53 | comment | added | TK7372 | Thanks! I have a further question. What if I want select a specific number of samples. e.g only 100. | |
Jul 27, 2022 at 10:21 | history | edited | Kalak | CC BY-SA 4.0 |
added 11 characters in body
|
Jul 27, 2022 at 10:15 | history | answered | Kalak | CC BY-SA 4.0 |