How to Solve NameError: name 'RandomSearch' is not defined -- kerastuner
Solution: Import the 'RandomSearch' module
To Solve the error, add the following line to the top of your code.
from kerastuner.tuners import RandomSearch
For more information:
Python kerastuner RandomSearch