the data.y is always equal 1, why? #5562
Answered
by
EdisonLeeeee
jiaruHithub
asked this question in
Q&A
-
I use dataset
this dataset contains two classes,
Why does this happen? the first label of |
Beta Was this translation helpful? Give feedback.
Answered by
EdisonLeeeee
Sep 29, 2022
Replies: 1 comment 1 reply
-
Hi @jiaruHithub
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jiaruHithub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @jiaruHithub
Data(y=[1])
means that the size ofy
is[1]
, a 1D tensor with length1
, rather than the value[1]
.