I use Pipelinein scikit to learn to group some preprocessing together with OneClassSVMas a final classifier. To calculate reasonable metrics, I need a post-processing that converts the -1.1 output OneClassSVMto 0 and 1. Is there any structured way to add such post-processing to Pipeline? Transformers cannot be used after final evaluation.
source
share