add regression
modified the labels format from imat to mat for accepting real values