Some modifications on the analytics classes to include regression easily.