Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jalencato committed Nov 6, 2023
1 parent d960167 commit d506e0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def _convert_feature(feats: list[dict]) -> list[dict]:
gsp_transformation_dict: dict[str, Any] = {}
if "transform" in gconstruct_feat_dict:
gconstruct_transform_dict = gconstruct_feat_dict["transform"]

if gconstruct_transform_dict["name"] == "max_min_norm":
gsp_transformation_dict["name"] = "numerical"
gsp_transformation_dict["kwargs"] = {"normalizer": "min-max", "imputer": "none"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@
DistNumericalTransformation,
)
from .dist_bucket_numerical_transformation import DistBucketNumericalTransformation
from .dist_rankgauss_numerical_transformation import DistRankGaussNumericalTransformation

0 comments on commit d506e0c

Please sign in to comment.