Skip to content

Conversation

jkgoodrich
Copy link
Contributor

No description provided.

@jkgoodrich jkgoodrich requested a review from klaricch January 9, 2023 18:13
@jkgoodrich jkgoodrich self-assigned this Jan 9, 2023
nbr=explode_nbrs_ht[hl.int64(explode_nbrs_ht.nearest_neighbor_idxs)].s
)
explode_nbrs_ht = explode_nbrs_ht.group_by("s").aggregate(
nearest_neighbors=hl.agg.collect_as_set(explode_nbrs_ht.nbr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does maintaining the order when collecting matter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good point, if we ever want to map to the nearest_neighbor_dists array it needs to be in the same order

@jkgoodrich jkgoodrich requested a review from klaricch January 17, 2023 22:11
@jkgoodrich jkgoodrich requested a review from klaricch January 20, 2023 23:38
Copy link
Contributor

@klaricch klaricch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm (just need to add a label)

@jkgoodrich jkgoodrich merged commit 0c45942 into main Jan 23, 2023
@jkgoodrich jkgoodrich deleted the jg/outlier_filtering_updates branch January 23, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants