utils: Utility Functions¶
This module provides a collection of helper functions for data processing, model training, and other tasks.
-
data: Contains theDatasetclass, which handles loading, preprocessing, and sampling of data from various sources, including GeoTIFF files and synthetic data generation. -
gpflow: Provides utility functions for training GPflow models, such asget_model_paramsfor finding optimal kernel hyperparameters andoptimize_modelfor running the optimization. It also includes aTraceInducingPtsclass to monitor the movement of inducing points during training. -
misc: A collection of miscellaneous helper functions, includingget_inducing_ptsfor selecting initial inducing points (via k-means or random sampling),cont2discfor mapping continuous solutions to a discrete set of candidates, andpolygon2candidatesfor sampling points within a polygon. -
tsp: Provides functionality for solving the Traveling Salesperson Problem (TSP) using Google's OR-Tools. Therun_tspfunction can find effient paths for single or multiple vehicles, with optional start and end nodes, and can resample the resulting paths to have a fixed number of points.