skops
skops copied to clipboard
Add trusted types for KNeighbors models
Adds the sklearn helper types used by KNeighborsClassifier(algorithm="kd_tree") to the default trusted types list, so these models can be loaded without manually passing those internal sklearn types.
The change follows the existing trusted-types pattern and adds regression coverage for the KNN persistence path.