-
Notifications
You must be signed in to change notification settings - Fork 106
Support build of "adaptive" kernel graphs #889
Copy link
Copy link
Open
Description
Under the weights framework, one can build a kernel W with adaptive bandwidth (example from the book:
# Build weights with adaptive bandwidth
w_adaptive = weights.distance.Kernel.from_dataframe(
sub_30, fixed=False, k=15
)The fixed=False flag is not supported under Graph and it'd be useful to have it available (e.g., for gwlearn, cc' @martinfleis). A proposed analogue API could be:
# Build weights with adaptive bandwidth
w_adaptive = graph.Graph.build_kernel(
sub_30.centroid, fixed=False, k=15
)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels