I tried the python code using keras and i got a warning

28 Views Asked by At

While executing the line bellow

model.add(Dense(input_dim=23,init="random_uniform",activation="relu",output_dim=12))

I get this warning:

UserWarning: Update your `Dense` call to the Keras 2 API: `Dense(input_dim=23, activation="relu", units=12, kernel_initializer="random_uniform")

What is causing this warning?

0

There are 0 best solutions below