Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

Module Error for "from keras.wrappers.scikit_learn import KerasClassifier"

$
0
0

When I try to run the following commands, I get a module error. I am not sure what is wrong.

from keras.wrappers.scikit_learn import KerasClassifier---------------------------------------------------------------------------ModuleNotFoundError                       Traceback (most recent call last)Cell In[10], line 1----> 1 from keras.wrappers.scikit_learn import KerasClassifierModuleNotFoundError: No module named 'keras.wrappers'from tensorflow.keras.wrappers.scikit_learn import KerasClassifier---------------------------------------------------------------------------ModuleNotFoundError                       Traceback (most recent call last)Cell In[11], line 1----> 1 from tensorflow.keras.wrappers.scikit_learn import KerasClassifierModuleNotFoundError: No module named 'tensorflow.keras.wrappers'

I did try to uninstall all the library and also anaconda and again installed everything. Getting the same error.


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>