# Weighted Sampling by a Data Value The following module allows sampling data patches with higher probability based on a value of interest. The feature of interest must be on the native grid with form (face, j, i). ## Import ``` import data_preprocessing.weighted_coordinate_sampling as weighted_coordinate_sampling ``` ## Design Overview First ## Parameters