Python Forum

Full Version: Data cardinality is ambiguous: x sizes: 51 y sizes: 26
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi.
i am new to python. i am trying lstm model with Xtraining data=1405 columns and 26 rows, y training=3 classes(columns) and 26 rows, XTest daya=1405 columns and 6 rows, Ytest data=3 classes(col) with 6 rows. i have cross checked the rows and columns in csv file, they are correct but i am getting this error. i am taking given metrics for coding.

epochs = 50
batch_size = 2
lstm_units = 100
dense_units = 20

please help in this regard iam waiting.