skops icon indicating copy to clipboard operation
skops copied to clipboard

Add trusted types for KNeighbors models

Open DresdenGman opened this issue 4 months ago • 0 comments

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.

DresdenGman avatar Jul 05 '26 14:07 DresdenGman