Skip to content

unable to understand how X and y are being sent into model.fit #12

@cerofrais

Description

@cerofrais

Can you please explain what is happening where you are sending in y_tr[:,:-1] into as X into the model.

history=model.fit([x_tr,y_tr[:,:-1]], 
                            y_tr.reshape(y_tr.shape[0],y_tr.shape[1], 1)[:,1:] ,
                            epochs=50,
                           callbacks=[es],
                           batch_size=128, 
                           validation_data=([x_val,y_val[:,:-1]],
                            y_val.reshape(y_val.shape[0],y_val.shape[1], 1)[:,1:]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions