Logistic Algorithm In Machine Learning