Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi what is the input format for function 'fit'? #6

Open
xiaoyuanzh opened this issue Sep 12, 2019 · 2 comments
Open

Hi what is the input format for function 'fit'? #6

xiaoyuanzh opened this issue Sep 12, 2019 · 2 comments

Comments

@xiaoyuanzh
Copy link

Just like it.

@Sunny478
Copy link

If you are using a dataframe, try converting it to an array before fit() or maybe simply use x_train.values

@hiddevanesch
Copy link

hiddevanesch commented Mar 18, 2021

If you are using a dataframe, try converting it to an array before fit() or maybe simply use x_train.values

Can you give an example?
I keep getting IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants