diff --git a/tpot/_version.py b/tpot/_version.py index 929ad0b7..45cb62dd 100644 --- a/tpot/_version.py +++ b/tpot/_version.py @@ -23,4 +23,4 @@ """ -__version__ = '0.11.6' +__version__ = '0.11.6.post1' diff --git a/tpot/operator_utils.py b/tpot/operator_utils.py index 64b8ecf9..5dd1f009 100644 --- a/tpot/operator_utils.py +++ b/tpot/operator_utils.py @@ -194,10 +194,11 @@ def TPOTOperatorClassFactory(opsourse, opdict, BaseClass=Operator, ArgBaseClass= elif is_regressor(op_obj): class_profile['root'] = True optype = "Regressor" - if _is_transformer(op_obj): - optype = "Transformer" - if _is_selector(op_obj): + elif _is_selector(op_obj): optype = "Selector" + elif _is_transformer(op_obj): + optype = "Transformer" + @classmethod def op_type(cls):