Sign in
Log inSign up
ByteScrum Technologies

22 likes

·

191 reads

3 comments

Webster Alex T
Webster Alex T
Sep 14, 2024

Hi. I’m new at this. Having a difficulty I’m unable to resolve. This line

Model.fit(x_train, y_train)

Produces this error ValueError: Expected a 2 dimensional container but got ‘’ instead. Pass a DataFrame containing a single row(I.e. single sample) or a single column( I.e. single feature) instead.

Help is much appreciated. Thanks, Alex.

1
·
·2 replies
ByteScrum Technologies
ByteScrum Technologies
Author
·Sep 16, 2024

Hi, I have added the full code in the blog, can you check ?

·
Melco Subrantas
Melco Subrantas
Sep 20, 2024

Saya juga mengalami kesulitan dalam login

·