skcriteria.core.methods
module¶
Core functionalities of scikit-criteria.
- class skcriteria.core.methods.SKCMethodABC[source]¶
Bases:
object
Base class for all class in scikit-criteria.
Notes
All estimators should specify:
_skcriteria_dm_type
: The type of the decision maker._skcriteria_parameters
: Availebe parameters._skcriteria_abstract_class
: If the class is abstract.
If the class is abstract the user can ignore the other two attributes.
- copy(**kwargs)[source]¶
Return a deep copy of the current Object..
This method is also useful for manually modifying the values of the object.
- Parameters
kwargs – The same parameters supported by object constructor. The values provided replace the existing ones in the object to be copied.
- Return type
A new object.
- class skcriteria.core.methods.SKCTransformerABC[source]¶
Bases:
skcriteria.core.methods.SKCMethodABC
Abstract class for all transformer in scikit-criteria.
- class skcriteria.core.methods.SKCMatrixAndWeightTransformerABC(target)[source]¶
Bases:
skcriteria.core.methods.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.