changed version to 0.1.7, minor tweaks plus added obs_by, split_by and unique_by arguments to predict