This commit is contained in:
Yevhenii Poliakov 2023-05-14 21:50:30 +02:00
parent af22e68a9f
commit 6caaed412f

View File

@ -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))