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

feature_type_manager.warning_registered() fails with "AttributeError: 'function' object has no attribute 'registered'" #443

Open
giogeens opened this issue Apr 18, 2024 · 0 comments

Comments

@giogeens
Copy link

giogeens commented Apr 18, 2024

Running labs/feature-types-for-data-exploration-and-validation/feature_type_tutorial.ipynb in an OCI Data Science project / Jupyter notebook with conda automlx234_p310_cpu_x86_64_v1 and ADS version 2.11.6

Excuting the cell with the "feature_type_manager.warning_registered()" command (in the "Feature Type Warnings" section) fails with :

ERROR - Exception
Traceback (most recent call last):
File "/home/datascience/conda/automlx234_p310_cpu_x86_64_v1/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3398, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_4930/61829734.py", line 1, in <cell line: 1>
feature_type_manager.warning_registered()
File "/home/datascience/conda/automlx234_p310_cpu_x86_64_v1/lib/python3.10/site-packages/ads/feature_engineering/feature_type_manager.py", line 371, in warning_registered
feature_type_df = feature_type.warning.registered()
AttributeError: 'function' object has no attribute 'registered'
AttributeError: 'function' object has no attribute 'registered'

Seems like the dataframe is missing in that cell. The correct command should be :

 df.ads.warning_registered()
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

1 participant