Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'super' object has no attribute '__sklearn_tags__' #11163

Closed
noopur-hp opened this issue Jan 13, 2025 · 1 comment
Closed

'super' object has no attribute '__sklearn_tags__' #11163

noopur-hp opened this issue Jan 13, 2025 · 1 comment

Comments

@noopur-hp
Copy link


AttributeError Traceback (most recent call last)
in <cell line: 37>()
35 )
36
---> 37 random_search_xgb.fit(X_train_scaled, y_train)
38
39 # Print the best hyperparameters found

4 frames
/usr/local/lib/python3.10/dist-packages/sklearn/base.py in sklearn_tags(self)
538
539 def sklearn_tags(self):
--> 540 tags = super().sklearn_tags()
541 tags.estimator_type = "classifier"
542 tags.classifier_tags = ClassifierTags()

AttributeError: 'super' object has no attribute 'sklearn_tags'

@trivialfis
Copy link
Member

Duplicated with #11093 . Closing as fixed in the nightly build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants