Using sample.py after export model python

Lberard
Lberard Registered Posts: 1

Hello,

I’m trying to use the sample.py after unzipping the archive of a model I extracted.

The model is a light gbm with a feature selection step.

The version of the dss is 12.6.5
However the python script crash after the dummifier step with the error :

Indexed_matrix.py Line 35 in _ remap _ key

Remapped_key = (key[0], self.column_index[key[1]])

keyError: ‘dummy:test_col:A’

The model has multiple preprocessing inside it :

Normalize

ImputeWithValue

Dummifier

DatetimeCyclical

Rescaler

NumNumInteraction


Is there a problem with my extraction or is my model not compatible ?


Cheerfully,

Louis

Operating system used: Windows 10

Operating system used: Windows 10

Setup Info
    Tags
      Help me…