pykliep icon indicating copy to clipboard operation
pykliep copied to clipboard

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

Open xiaoyuanzh opened this issue 5 years ago • 2 comments

Just like it.

xiaoyuanzh avatar Sep 12 '19 02:09 xiaoyuanzh

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

Sunny478 avatar Jun 29 '20 20:06 Sunny478

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

hiddevanesch avatar Mar 18 '21 20:03 hiddevanesch