Verde & Xbatcher -> Any connections / shared use? #78
Replies: 3 comments 3 replies
-
👋 @ThomasMGeo, thanks for opening this issue! Verde's utility for splitting data definitely overlaps with the development roadmap for xbatcher. It will be useful to consider Verde’s implementation when building out xbatcher's API. A couple key differences are that xbatcher’s splitting and shuffling utilities will operate on batches and xarray datasets or dataarrays whereas verde expects the data array and coordinates to be separated. I think we’ll also want to support both selective and random sampling. |
Beta Was this translation helpful? Give feedback.
-
I'm looking forward to continuing conversations about the overlap between xbatcher and other libraries like Verde. I just enabled GitHub discussions and transferred this issue over to enable both these types of conversations and usage-focused questions about xbatcher. |
Beta Was this translation helpful? Give feedback.
-
Found out that
They also do train/test split:
It's a slightly different paradigm since they operate on (numpy) EOPatch objects (though they do have an EOPatch to xarray.Dataset converter at https://eo-learn.readthedocs.io/en/latest/reference/eolearn.visualization.extra.xarray.html#eolearn.visualization.extra.xarray.eopatch_to_dataset), while |
Beta Was this translation helpful? Give feedback.
-
Verde (https://www.fatiando.org/verde/latest/#) has some spatial splitting and shuffling functions. Does this (could?) have some overlap with Xbatcher?
One example here: https://www.fatiando.org/verde/latest/api/generated/verde.BlockShuffleSplit.html#verde.BlockShuffleSplit
Just thinking out-loud as I dig into the repo's.
Best,
-TM
Beta Was this translation helpful? Give feedback.
All reactions