Hello everyone, I am a newbie in keras, I have installed Keras as in the Keras Documentaion, when I want to run my first program,
import numpy as np
from keras.models import Sequential
from keras.layers import Dense
data = np.random.random((1000,100))
labels = np.random.randint(2,size=(1000,1))
model = Sequential()
model.add(Dense(32, activation='relu',input_dim=100))
model.add(Dense(1, activation='sigmoid'))
model.compile(optimizer='rmsprop',loss='binary_crossentropy',metrics=['accuracy'])
model.fit(data,labels,epochs=10,batch_size=32)
predictions = model.predict(data)
I got ImportError: No module named keras.models in the line: from keras.models import Sequential
Thanks for helping in advance!