How to Solve NameError: name 'skopt' is not defined

Solution: Import the 'skopt' module

To Solve the error, add the following line to the top of your code.

import skopt

 

For more information:
Python skopt