In chapter 11, the model is defined as:
model = keras.Model([item_input, visitor_input], dot_prod)
the visitor_input comes after item_input, but in the training and evaluating code, the order is reversed:
model.fit([train.visitorid, train.itemid], train.event, epochs=50)
Is this a mistake?
In chapter 11, the model is defined as:
model = keras.Model([item_input, visitor_input], dot_prod)the
visitor_inputcomes afteritem_input, but in the training and evaluating code, the order is reversed:model.fit([train.visitorid, train.itemid], train.event, epochs=50)Is this a mistake?