Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@jhfjhfj1 @satyakesav @gabrieldemarmiesse
10 lines (5 sloc) 274 Bytes
from autokeras import TopicClassifier
topic_classifier = TopicClassifier()
to_predict = "With some more practice, they will definitely make it to finals.."
topic_name = topic_classifier.predict(to_predict)
print("The input sentence belongs to the class : ", topic_name)
You can’t perform that action at this time.