Skip to content

Commit

Permalink
tagged inverse transform in based as experimental for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Will McGinnis committed Jan 21, 2018
1 parent 56d0133 commit 87c11cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions category_encoders/basen.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import numpy as np
import math
import warnings
from sklearn.base import BaseEstimator, TransformerMixin
from category_encoders.ordinal import OrdinalEncoder
from category_encoders.utils import get_obj_cols, convert_input
Expand Down Expand Up @@ -193,6 +194,8 @@ def inverse_transform(self, Xt):
p: array, the same size of X_in
"""

warnings.warn('Inverse transform in basen is a currently experimental feature, please be careful')
X = Xt.copy(deep=True)

# first check the type
Expand Down

0 comments on commit 87c11cc

Please sign in to comment.