for example, I have
case 1:[A,B,C,D] case 2:[B,C,D] case 3:[A,D,E]
I would like to transform them into feature vectors:
case 1:[1,