upd51
This commit is contained in:
parent
af22e68a9f
commit
6caaed412f
@ -49,6 +49,8 @@ model.add(Dense(1))
|
|||||||
# Compile the model
|
# Compile the model
|
||||||
model.compile(optimizer=Adam(), loss='mse')
|
model.compile(optimizer=Adam(), loss='mse')
|
||||||
|
|
||||||
|
print("Data type of 'Rating' column:", y_train.dtype)
|
||||||
|
|
||||||
# Train the model
|
# Train the model
|
||||||
model.fit(X_train, y_train, batch_size=64, epochs=10, validation_data=(X_test, y_test))
|
model.fit(X_train, y_train, batch_size=64, epochs=10, validation_data=(X_test, y_test))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user