VIMANA interview question

How would you build a logistic regression model for sentiment analysis?