def calculate_iou(pred_poly, test_data_GDF): """Get the best intersection over union for a predicted polygon. Arguments --- pred_poly : :py:class:`shapely.Polygon` Prediction polygon to test. test_data_GDF : :py:class:`geopandas.GeoDataFrame` GeoDataFrame of ground truth polygons to...