Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged one-hot-encoding
0
votes
Q: Convert array of indices to 1-hot encoded numpy array
I want to encode a 1-D numpy array: x = array([1,0,3]) As a 2-D 1-hot array y = array([ ... some faster technique other than looping. Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
python
numpy
numpy-ndarray
one-hot-encoding
To see more, click for the
full list of questions
or
popular tags
.
...