evalml
evalml copied to clipboard
MissingComponentError: Component "Elastic Net Regressor" was not found`
Hello! I am testing EvalML for the first time. I was working with your example . Unfortunately I get this error and I can't complete the tutorial. Here is the error:
---------------------------------------------------------------------------
MissingComponentError Traceback (most recent call last)
Cell In[8], line 1
----> 1 automl.search()
File ~\AppData\Local\miniconda3\envs\TS_EvalML\lib\site-packages\evalml\automl\automl_search.py:1075, in AutoMLSearch.search(self, interactive_plot)
1073 try:
1074 if not loop_interrupted:
-> 1075 current_batch_pipelines = self.automl_algorithm.next_batch()
1076 except StopIteration:
1077 self.logger.info("AutoML Algorithm out of recommendations, ending")
File ~\AppData\Local\miniconda3\envs\TS_EvalML\lib\site-packages\evalml\automl\automl_algorithm\default_algorithm.py:445, in DefaultAlgorithm.next_batch(self)
443 else:
444 if self._batch_number == 0:
--> 445 next_batch = self._create_naive_pipelines()
446 elif self._batch_number == 1:
447 next_batch = self._create_naive_pipelines(use_features=True)
File ~\AppData\Local\miniconda3\envs\TS_EvalML\lib\site-packages\evalml\automl\automl_algorithm\default_algorithm.py:223, in DefaultAlgorithm._create_naive_pipelines(self, use_features)
220 else:
221 feature_selector = []
--> 223 estimators = self._naive_estimators()
224 pipelines = [
225 make_pipeline(
226 X=self.X,
(...)
240 for estimator in estimators
241 ]
242 pipelines = self._add_without_pipelines(pipelines, estimators, feature_selector)
File ~\AppData\Local\miniconda3\envs\TS_EvalML\lib\site-packages\evalml\automl\automl_algorithm\default_algorithm.py:183, in DefaultAlgorithm._naive_estimators(self)
178 else:
179 naive_estimators = [
180 "Logistic Regression Classifier",
181 "Random Forest Classifier",
182 ]
--> 183 estimators = [
184 handle_component_class(estimator) for estimator in naive_estimators
185 ]
186 return estimators
File ~\AppData\Local\miniconda3\envs\TS_EvalML\lib\site-packages\evalml\automl\automl_algorithm\default_algorithm.py:184, in <listcomp>(.0)
178 else:
179 naive_estimators = [
180 "Logistic Regression Classifier",
181 "Random Forest Classifier",
182 ]
183 estimators = [
--> 184 handle_component_class(estimator) for estimator in naive_estimators
185 ]
186 return estimators
File ~\AppData\Local\miniconda3\envs\TS_EvalML\lib\site-packages\evalml\pipelines\components\utils.py:159, in handle_component_class(component_class)
157 component_classes = {component.name: component for component in all_components()}
158 if component_class not in component_classes:
--> 159 raise MissingComponentError(
160 'Component "{}" was not found'.format(component_class),
161 )
162 component_class = component_classes[component_class]
163 return component_class
MissingComponentError: Component "Elastic Net Regressor" was not found`
My environment: Windows 10, miniconda, jupyter notebook, python 3.9.15, evalML 0.64.0 Installed packages:
Name Version Build Channel
anyio 3.6.2 pypi_0 pypi appdirs 1.4.4 pypi_0 pypi argon2-cffi 21.3.0 pypi_0 pypi argon2-cffi-bindings 21.2.0 pypi_0 pypi asttokens 2.2.1 pypi_0 pypi attrs 22.2.0 pypi_0 pypi backcall 0.2.0 pypi_0 pypi beautifulsoup4 4.11.1 pypi_0 pypi bleach 5.0.1 pypi_0 pypi bzip2 1.0.8 h8ffe710_4 conda-forge ca-certificates 2022.12.7 h5b45459_0 conda-forge catboost 1.1.1 pypi_0 pypi category-encoders 2.5.1.post0 pypi_0 pypi certifi 2022.12.7 pypi_0 pypi cffi 1.15.1 pypi_0 pypi charset-normalizer 2.1.1 pypi_0 pypi click 8.1.3 pypi_0 pypi cloudpickle 2.2.0 pypi_0 pypi colorama 0.4.6 pypi_0 pypi comm 0.1.2 pypi_0 pypi contourpy 1.0.6 pypi_0 pypi convertdate 2.4.0 pypi_0 pypi cryptography 39.0.0 pypi_0 pypi cycler 0.11.0 pypi_0 pypi dask 2022.12.1 pypi_0 pypi debugpy 1.6.4 pypi_0 pypi decorator 4.4.2 pypi_0 pypi defusedxml 0.7.1 pypi_0 pypi deprecated 1.2.13 pypi_0 pypi distributed 2022.12.1 pypi_0 pypi entrypoints 0.4 pypi_0 pypi evalml 0.64.0 pypi_0 pypi executing 1.2.0 pypi_0 pypi fastjsonschema 2.16.2 pypi_0 pypi featuretools 1.20.0 pypi_0 pypi fonttools 4.38.0 pypi_0 pypi frozendict 2.3.4 pypi_0 pypi fsspec 2022.11.0 pypi_0 pypi heapdict 1.0.1 pypi_0 pypi hijri-converter 2.2.4 pypi_0 pypi holidays 0.18 pypi_0 pypi html5lib 1.1 pypi_0 pypi idna 3.4 pypi_0 pypi imageio 2.23.0 pypi_0 pypi imbalanced-learn 0.10.1 pypi_0 pypi importlib-metadata 6.0.0 pypi_0 pypi ipykernel 6.19.4 pypi_0 pypi ipython 8.8.0 pypi_0 pypi ipython-genutils 0.2.0 pypi_0 pypi ipywidgets 8.0.4 pypi_0 pypi jedi 0.18.2 pypi_0 pypi jinja2 3.1.2 pypi_0 pypi joblib 1.2.0 pypi_0 pypi jsonschema 4.17.3 pypi_0 pypi jupyter-client 7.4.8 pypi_0 pypi jupyter-core 5.1.2 pypi_0 pypi jupyter-events 0.5.0 pypi_0 pypi jupyter-server 2.0.6 pypi_0 pypi jupyter-server-terminals 0.4.3 pypi_0 pypi jupyterlab-pygments 0.2.2 pypi_0 pypi jupyterlab-widgets 3.0.5 pypi_0 pypi kaleido 0.2.1 pypi_0 pypi kiwisolver 1.4.4 pypi_0 pypi korean-lunar-calendar 0.3.1 pypi_0 pypi libffi 3.4.2 h8ffe710_5 conda-forge libsqlite 3.40.0 hcfcfb64_0 conda-forge libzlib 1.2.13 hcfcfb64_4 conda-forge lightgbm 3.3.4 pypi_0 pypi lime 0.2.0.1 pypi_0 pypi llvmlite 0.39.1 pypi_0 pypi locket 1.0.0 pypi_0 pypi lxml 4.9.2 pypi_0 pypi markupsafe 2.1.1 pypi_0 pypi matplotlib 3.6.2 pypi_0 pypi matplotlib-inline 0.1.6 pypi_0 pypi mistune 2.0.4 pypi_0 pypi msgpack 1.0.4 pypi_0 pypi multitasking 0.0.11 pypi_0 pypi nbclassic 0.4.8 pypi_0 pypi nbclient 0.7.2 pypi_0 pypi nbconvert 7.2.7 pypi_0 pypi nbformat 5.7.1 pypi_0 pypi nest-asyncio 1.5.6 pypi_0 pypi networkx 2.5.1 pypi_0 pypi nlp-primitives 2.9.0 pypi_0 pypi nltk 3.8.1 pypi_0 pypi notebook 6.5.2 pypi_0 pypi notebook-shim 0.2.2 pypi_0 pypi numba 0.56.4 pypi_0 pypi numpy 1.22.4 pypi_0 pypi openssl 3.0.7 hcfcfb64_1 conda-forge packaging 22.0 pypi_0 pypi pandas 1.5.2 pypi_0 pypi pandocfilters 1.5.0 pypi_0 pypi parso 0.8.3 pypi_0 pypi partd 1.3.0 pypi_0 pypi patsy 0.5.3 pypi_0 pypi pickleshare 0.7.5 pypi_0 pypi pillow 9.4.0 pypi_0 pypi pip 22.3.1 pyhd8ed1ab_0 conda-forge platformdirs 2.6.2 pypi_0 pypi plotly 5.11.0 pypi_0 pypi pmdarima 1.8.5 pypi_0 pypi prometheus-client 0.15.0 pypi_0 pypi prompt-toolkit 3.0.36 pypi_0 pypi psutil 5.9.4 pypi_0 pypi pure-eval 0.2.2 pypi_0 pypi pyaml 21.10.1 pypi_0 pypi pycparser 2.21 pypi_0 pypi pygments 2.14.0 pypi_0 pypi pymeeus 0.5.12 pypi_0 pypi pyparsing 3.0.9 pypi_0 pypi pyrsistent 0.19.3 pypi_0 pypi python 3.9.15 h4de0772_0_cpython conda-forge python-dateutil 2.8.2 pypi_0 pypi python-graphviz 0.20.1 pypi_0 pypi python-json-logger 2.0.4 pypi_0 pypi pytz 2022.7 pypi_0 pypi pywavelets 1.4.1 pypi_0 pypi pywin32 305 pypi_0 pypi pywinpty 2.0.10 pypi_0 pypi pyyaml 6.0 pypi_0 pypi pyzmq 24.0.1 pypi_0 pypi regex 2022.10.31 pypi_0 pypi requests 2.28.1 pypi_0 pypi requirements-parser 0.5.0 pypi_0 pypi rfc3339-validator 0.1.4 pypi_0 pypi rfc3986-validator 0.1.1 pypi_0 pypi scikit-image 0.19.3 pypi_0 pypi scikit-learn 1.2.0 pypi_0 pypi scikit-optimize 0.9.0 pypi_0 pypi seaborn 0.12.2 pypi_0 pypi send2trash 1.8.0 pypi_0 pypi setuptools 65.6.3 pyhd8ed1ab_0 conda-forge shap 0.41.0 pypi_0 pypi six 1.16.0 pypi_0 pypi sktime 0.15.0 pypi_0 pypi slicer 0.0.7 pypi_0 pypi sniffio 1.3.0 pypi_0 pypi sortedcontainers 2.4.0 pypi_0 pypi soupsieve 2.3.2.post1 pypi_0 pypi stack-data 0.6.2 pypi_0 pypi statsmodels 0.13.5 pypi_0 pypi tblib 1.7.0 pypi_0 pypi tenacity 8.1.0 pypi_0 pypi terminado 0.17.1 pypi_0 pypi texttable 1.6.7 pypi_0 pypi threadpoolctl 3.1.0 pypi_0 pypi tifffile 2022.10.10 pypi_0 pypi tinycss2 1.2.1 pypi_0 pypi tk 8.6.12 h8ffe710_0 conda-forge toolz 0.12.0 pypi_0 pypi tornado 6.2 pypi_0 pypi tqdm 4.64.1 pypi_0 pypi traitlets 5.8.0 pypi_0 pypi types-docutils 0.19.1.1 pypi_0 pypi types-setuptools 65.6.0.3 pypi_0 pypi tzdata 2022g h191b570_0 conda-forge ucrt 10.0.22621.0 h57928b3_0 conda-forge uri-template 1.2.0 pypi_0 pypi urllib3 1.26.13 pypi_0 pypi vc 14.3 h3d8a991_9 conda-forge vowpalwabbit 9.6.0 pypi_0 pypi vs2015_runtime 14.32.31332 h1d6e394_9 conda-forge wcwidth 0.2.5 pypi_0 pypi webcolors 1.12 pypi_0 pypi webencodings 0.5.1 pypi_0 pypi websocket-client 1.4.2 pypi_0 pypi wheel 0.38.4 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.5 pypi_0 pypi woodwork 0.19.0 pypi_0 pypi wrapt 1.14.1 pypi_0 pypi xz 5.2.6 h8d14728_0 conda-forge yfinance 0.2.3 pypi_0 pypi zict 2.2.0 pypi_0 pypi zipp 3.11.0 pypi_0 pypi
Any hint why is this happening?