How can I one hot encode a list of strings with Keras?

后端 未结 3 471
半阙折子戏
半阙折子戏 2021-01-02 03:27

I have a list:

code = [\'\', \'are\', \'defined\', \'in\', \'the\', \'\"editable\', \'parameters\"\', \'\\n\', \'section.\', \'\\n\', \'A\', \'large         


        
3条回答
提交回复
热议问题