Python models in R


I have built a text classifier using Keras in python and saved the model as ',h5' file. I was able to import the model into R using Keras in R, but how to prepare new data using R so that I can predict the model on new data.

In R tried to prepare the text using text2vec but it may not return same dimension compared to python's tfidfVectorizer.

Any suggestion will be helpful?.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.