[Bartz] add basic logistic regression learning

Signed-off-by: Stefan Prisca <stefan.prisca@gmail.com>