i've found the following: y_true array-like of shape (n_samples,) or (n_samples, n_classes)
True labels or binary label indicators. The binary and multiclass cases expect labels with shape (n_samples,)
while the multilabel case expects binary label indicators with shape (n_samples...
here is the problematic script.
with roc_auc_score error in cell : ValueError: could not convert string to float: 'Neutral'
Thank you in advance,
p.s. i am not able to load the notebook (it's not allowed).
i am getting an error:
1165 'Cannot feed value of shape %r for Tensor %r, '
1166 'which has shape %r' %
ValueError: Cannot feed value of shape (64, 2) for Tensor 'targets/Y:0', which has shape '(?, 32)'
The Simplilearn community is a friendly, accessible place for professionals of all ages and backgrounds to engage in healthy, constructive debate and informative discussions. Get your pressing questions answered,
participate in monthly contests, create polls to get a feel for the market, build your network, and more! Pull up a chair and come join the discussion -today!