Categories
Misc

How to overcome the wrong dimension issue as in, the dimension of the shape is different from expected

I was doing the assignment for the “Model validation on the Iris
dataset”.

I get this error: “Error when checking input: expected
dense_input to have shape (135,) but got array with shape (4,)”.
How do I overcome this problem?

I posted this question at
https://stackoverflow.com/questions/65441320/how-to-overcome-the-wrong-dimension-issue
.

I wish someone can highlight my error. Pardon me for asking this
question. I’m still a newbie. Making basic errors here and there.
But anyway, I’d like to wish everyone a happy Christmas Day
ahead.

submitted by /u/edmondoh001

[visit reddit]

[comments]

Leave a Reply

Your email address will not be published. Required fields are marked *