add regression

Add regression, cli app detects classification/regression while parsing csv file. The classification and regression code is very similar, this needs to be addressed in a performant way.