Skip to content

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

@giogeens

Description

@giogeens

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions