Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (5 sloc) 246 Bytes
from autokeras import SentimentAnalysis
sentiment_cls = SentimentAnalysis()
polarity = sentiment_cls.predict("The model is working well..")
print("Polarity of the input sentence is "
"(sentiment is +ve if polarity > 0.5) : ", polarity)
You can’t perform that action at this time.