Discussion:
[Scikit-learn-general] Python BitVector and Scikit-learn data representation
Sanjay Rawat
2016-02-11 13:00:46 UTC
Permalink
Hi,I have an on-going project, implemented in python. I am generating vectors (containing 0s, 1s) that are represented as bit-vector using pythob "BitVector" module. I am considering to applying some clustering algo to have some idea about these vectors. I found Scikit-learn a great python framework to do so. However, I could not see if I can directly use bit-vectors that I have generated using BitVector in scikit-learn. It can save a lot of time if I can directly use these vectors. Is there any way to do so?  Thanks & Regards
- Sanjay
Andreas Mueller
2016-02-11 18:55:56 UTC
Permalink
Post by Sanjay Rawat
Hi,
I have an on-going project, implemented in python. I am generating
vectors (containing 0s, 1s) that are represented as bit-vector using
pythob "BitVector" module. I am considering to applying some
clustering algo to have some idea about these vectors. I found
Scikit-learn a great python framework to do so. However, I could not
see if I can directly use bit-vectors that I have generated using
BitVector in scikit-learn. It can save a lot of time if I can directly
use these vectors. Is there any way to do so?
No. You need to use numpy data structures.

Loading...