if( beta == null ) return -1;
int res = 0; //we do not count intercept so we start from -1
for( double b : beta ) if( b != 0 ) ++res;
return res;
}
<BUG>@Override public void delete(){

if(validations != null) for(Key k:validations)
DKV.remove(k);
super.delete();</BUG>
}

if( beta == null ) return -1;
int res = 0; //we do not count intercept so we start from -1
for( double b : beta ) if( b != 0 ) ++res;
return res;
