add base class regression, add class linear , updated class logistic