divide logregression class