lightwood icon indicating copy to clipboard operation
lightwood copied to clipboard

Ignore inferred dtype if encoder is manually provided.

Open paxcema opened this issue 2 years ago • 0 comments

If a user manually specifies encoders, for example from MindsDB:

create predictor mindsdb.camber_8
from files
(select * from doubleWishbone)
predict Camber
using
encoders.Kz.module = 'NumericEncoder',
encoders.Cz.module = 'NumericEncoder',
encoders.F0z.module = 'NumericEncoder',
encoders.Hmax.module = 'NumericEncoder',
encoders.Camber.module = 'NumericEncoder';

We should be overriding the encoder (of course), but also the inferred dtype to the one supported by the manually specified encoder.

paxcema avatar Nov 21 '22 18:11 paxcema