skcriteria.preprocessing._preprocessing_base module

Core functionalities to create transformers.

class skcriteria.preprocessing._preprocessing_base.SKCTransformerABC[source]

Bases: SKCMethodABC

Abstract class for all transformer in scikit-criteria.


Perform transformation on dm.


dm ( – The decision matrix to transform.


Transformed decision matrix.

Return type

class skcriteria.preprocessing._preprocessing_base.SKCMatrixAndWeightTransformerABC(target)[source]

Bases: SKCTransformerABC

Transform weights and matrix together or independently.

The Transformer that implements this abstract class can be configured to transform weights, matrix or both so only that part of the DecisionMatrix is altered.

This abstract class require to redefine _transform_weights and _transform_matrix, instead of _transform_data.

property target

Determine which part of the DecisionMatrix will be transformed.