Skip to content

Commit 03befec

Browse files
Jake VanderPlascopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 736468840
1 parent 9df7899 commit 03befec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_decision_forests/contrib/scikit_learn_model_converter/scikit_learn_model_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def convert(
9090
# to split samples in nodes in the trees as input. But we want to pass the
9191
# full design matrix as an input to match the scikit-learn API, thus we
9292
# create another tf_keras.Model with the desired call signature.
93-
template_input = tf_keras.Input(shape=(sklearn_model.n_features_in_,))
93+
template_input = tf_keras.Input(shape=(sklearn_model.n_features_in_,)) # pytype: disable=attribute-error
9494
# Extracts the indices of the features that are used by the TFDF model.
9595
# The features have names with the format "feature_<index-of-feature>".
9696
feature_names = (

0 commit comments

Comments
 (0)