@Override public AbstractLogisticRegression<InputType,OutputType,FunctionType> clone() { @SuppressWarnings("unchecked") AbstractLogisticRegression<InputType,OutputType,FunctionType> clone = (AbstractLogisticRegression<InputType,OutputType,FunctionType>) super.clone(); clone.setObjectToOptimize( ObjectUtil.cloneSmart( this.getObjectToOptimize() ) ); clone.result = ObjectUtil.cloneSmart( this.getResult() ); return clone; }
@Override public AbstractLogisticRegression<InputType,OutputType,FunctionType> clone() { @SuppressWarnings("unchecked") AbstractLogisticRegression<InputType,OutputType,FunctionType> clone = (AbstractLogisticRegression<InputType,OutputType,FunctionType>) super.clone(); clone.setObjectToOptimize( ObjectUtil.cloneSmart( this.getObjectToOptimize() ) ); clone.result = ObjectUtil.cloneSmart( this.getResult() ); return clone; }
@Override public AbstractLogisticRegression<InputType,OutputType,FunctionType> clone() { @SuppressWarnings("unchecked") AbstractLogisticRegression<InputType,OutputType,FunctionType> clone = (AbstractLogisticRegression<InputType,OutputType,FunctionType>) super.clone(); clone.setObjectToOptimize( ObjectUtil.cloneSmart( this.getObjectToOptimize() ) ); clone.result = ObjectUtil.cloneSmart( this.getResult() ); return clone; }