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

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

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

submitted by /u/edmondoh001

[visit reddit]


Leave a Reply

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