← Back to team overview

piaget-dev team mailing list archive

Learner vs. Preproc

 

I added a new Preproc to Piaget: ShiftAndRescalePreproc.
The trick is, it's more a learner than a preproc, since it does
something important in train() (learn the rescaling parameters).
But it was much easier for me to make it inherit from Preproc, so I can
use it easily in a processing pipeline.

Was it the "right" way to do it? If not, what should have I have done?

--
Olivier