классификация-текста

Machine learning LDA, text classification

I need to classify texts (news) by the importance of the Russian Federation. 1 category-threat of NB (key phrases: terrorism, ... out myself. But I have little experience, and I can't figure out how to fill it out myself, without delivering a set of texts

How do I submit my own text to the input of a neural network?

There is a neural network that recognizes a good review of a movie or a bad one. How do I submit my own text to the network i ... ['accuracy']) hist = model.fit(x_train_tfidf,y_train1,validation_data = (x_test_tfidf,y_test ),epochs = 5,batch_size = 64)