I noticed that the num_predictions metric is defined twice in metrics.py (https://github.com/cheind/py-motmetrics/blob/125304fb53495de8a43f2768bf90eb932c4a87bb/motmetrics/metrics.py#L247). One uses the result of pred_frequencies while the other counts the rows in the matched dataframe. Both output the same value, but I don't follow how they are accounting for the uniqueness of the predicted ids. Why shouldn't the unique predicted ids be pred_frequencies.count()? Am I misunderstanding?
I noticed that the num_predictions metric is defined twice in metrics.py (https://github.com/cheind/py-motmetrics/blob/125304fb53495de8a43f2768bf90eb932c4a87bb/motmetrics/metrics.py#L247). One uses the result of pred_frequencies while the other counts the rows in the matched dataframe. Both output the same value, but I don't follow how they are accounting for the uniqueness of the predicted ids. Why shouldn't the unique predicted ids be pred_frequencies.count()? Am I misunderstanding?