Logistic Regression For Text Classification