I am running a neural network algorithm in a jupyter notebook.
input_func = tf.estimator.inputs.pandas_input_fn(
x=X_train,
y=y_train,
batch_size=10,
num_epochs=5,
shuffle=True)
Produces this error:
AttributeError: module 'tensorflow_core.estimator' has no attribute 'inputs'
I don't understand why this is happening. I have tried uninstalling and reinstalling tensorflow.
Does anyone know how to fix this?