Skip to content

Commit 87c11cc

Browse files
author
Will McGinnis
committed
tagged inverse transform in based as experimental for release
1 parent 56d0133 commit 87c11cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

category_encoders/basen.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import numpy as np
44
import math
5+
import warnings
56
from sklearn.base import BaseEstimator, TransformerMixin
67
from category_encoders.ordinal import OrdinalEncoder
78
from category_encoders.utils import get_obj_cols, convert_input
@@ -193,6 +194,8 @@ def inverse_transform(self, Xt):
193194
p: array, the same size of X_in
194195
195196
"""
197+
198+
warnings.warn('Inverse transform in basen is a currently experimental feature, please be careful')
196199
X = Xt.copy(deep=True)
197200

198201
# first check the type

0 commit comments

Comments
 (0)