public void setC(double C)
    {
        if(Double.isNaN(C) || Double.isInfinite(C) || C <= 0)
            throw new IllegalArgumentException("C must be a postive constant, not " + C);
        this.C = C;
    }
public void setC ( double C ) { if ( Double . isNaN ( C ) || Double . isInfinite ( C ) || C <= 0 ) throw new IllegalArgumentException ( "C must be a postive constant, not " + C ) ; this . C = C ; }
Set the aggressiveness parameter. Increasing the value of this parameter
increases the aggressiveness of the algorithm. It must be a positive
value. This parameter essentially performs a type of regularization on
the updates

@param C the positive aggressiveness parameter