Thanks a lot Artem :)
It worked!
Shalu
On Mon, Feb 16, 2015 at 2:05 PM, Artem wrote:
> X needs to be a matrix of shape (n_samples, n_features), not a vector. You
> need to reshape it into the matrix by doing
>
> X_train = X_train.reshape( (len(X_train), 1) )
>
> On Mon, Feb 16, 2015 at 4:01 PM,
X needs to be a matrix of shape (n_samples, n_features), not a vector. You
need to reshape it into the matrix by doing
X_train = X_train.reshape( (len(X_train), 1) )
On Mon, Feb 16, 2015 at 4:01 PM, shalu jhanwar
wrote:
> Hi Scikit fans,
>
> I am facing following error while performing classifi