We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ab424 commit e1fbbdbCopy full SHA for e1fbbdb
sklearn/base.py
@@ -485,7 +485,7 @@ def add_names(names):
485
message += "Feature names seen at fit time, yet now missing:\n"
486
message += add_names(missing_names)
487
488
- if not missing_names and not missing_names:
+ if not missing_names and not unexpected_names:
489
message += (
490
"Feature names must be in the same order as they were in fit.\n"
491
)
0 commit comments