Buen dia, apreciado equipo de Alura
No me pertmite realizar el AutoML, mire en un foro y dice que importe ads. lo cual hice y nada, por otro lado dicen que AutoMl y ADS no estan en el mismo Kernel pero tampoco dan solucion como poder realizar el modelado con AutoML. Agradezco su apoyo con el tema:
from ads.common.data import ADSData
ads_data = ADSData.build(ds.to_pandas(), 'riesgo_eac_decada')
type(ads_data)
ads.common.data.ADSData
from ads.automl.driver import AutoML
import ads
ads.hello()
import oci
oracle_automl=AutoML(ads_data)
ERROR:ads.common:The automl module was not found. Install ads[labs].
ERROR:ads.common:ADS Exception
Traceback (most recent call last):
File "/home/datascience/conda/generalml_p38_cpu_v1/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3457, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_29356/3054559234.py", line 1, in <module>
oracle_automl=AutoML(ads_data)
File "/home/datascience/conda/generalml_p38_cpu_v1/lib/python3.8/site-packages/ads/automl/driver.py", line 185, in __init__
provider = OracleAutoMLProvider()
File "/home/datascience/conda/generalml_p38_cpu_v1/lib/python3.8/site-packages/ads/common/decorator/deprecate.py", line 55, in wrapper
return target(*args, **kwargs)
File "/home/datascience/conda/generalml_p38_cpu_v1/lib/python3.8/site-packages/ads/automl/provider.py", line 337, in __init__
raise e
File "/home/datascience/conda/generalml_p38_cpu_v1/lib/python3.8/site-packages/ads/automl/provider.py", line 333, in __init__
self.automl = __import__("automl")
ModuleNotFoundError: No module named 'automl'
ModuleNotFoundError: No module named 'automl