deepluq.utils#
Classes#
Functions#
|
Calculates Intersection over Union (IoU) for two normalized boxes. |
|
Applies WBF and groups the original input boxes into their respective clusters |
|
|
|
|
|
|
|
Module Contents#
- deepluq.utils.compute_iou(box1, box2)#
Calculates Intersection over Union (IoU) for two normalized boxes.
- deepluq.utils.wbf_clustering(predictions_dict, iou_thr=0.5, skip_box_thr=0.01)#
Applies WBF and groups the original input boxes into their respective clusters alongside the final merged detection.
- class deepluq.utils.DBSCANCluster(x, eps=8.5, min_samples=8)#
- cluster#
- mc_locations#
- mc_locations_df#
- cluster_labels#
- cluster_preds(preds)#
- deepluq.utils.cluster(mc_locations)#
- deepluq.utils.get_kdist_plot(X=None, k=None, radius_nbrs=1.0)#
- deepluq.utils.normalize_action(action, normalization_values)#
- deepluq.utils.action_uncertainty(action, mutated_action)#