Categories
Mastering Development

Add null features to train model when new phrase comes and model new inputs

Im training a model to detect entities in phrases. My train is composed by 500 phrases, which have 1000 words. So, my X_train.shape = (500,1000) X_train = [[0. 0. 0. 0. …], [0. 0. …], …]. <– already have this Each column is about an specific word (order is very important). When I want to […]