If the calibration mode is set to {@link CalibrationMode#HOLD_OUT}, this
what portion of the data set is randomly selected to be the hold out set.
The default is 0.3.

@param holdOut the portion in (0, 1) to hold out
188133
public void setCalibrationHoldOut(double holdOut)
    {
        if(Double.isNaN(holdOut) || holdOut <= 0 || holdOut >= 1)
            throw new IllegalArgumentException("HoldOut must be in (0, 1), not " + holdOut);
        this.holdOut = holdOut;
    }
710423
public void doValidRecord(boolean bDisplayOption)
    {
        String strClass = this.getOwner().getField(FieldData.FIELD_CLASS).toString();
        String strType = null;
        if (strClass.indexOf("Field") != -1)
        {
            strType = strClass.substring(0, strClass.indexOf("Field"));
            if ("Short Integer Double Float Currencys Percent Real Boolean String DateTime".indexOf(strType) == -1)
                strType = null;
            if (strType != null) if ((strType.equals("DateTime")) || (strType.equals("Time")))
                strType = "Date";
            if (strType != null) if ((strType.equals("Currencys")) || (strType.equals("Real")))
                strType = "Double";
            if (strType != null) if (strType.equals("Percent"))
                strType = "Float";
        }
        if (strType != null)
            this.getOwner().getField(FieldData.DATA_CLASS).setString(strType);
        super.doValidRecord(bDisplayOption);
    }
1001522
public void setRadarChartMode(final RadarChart.Mode MODE) {
        if (null == radarChartMode) {
            _radarChartMode = MODE;
            fireTileEvent(RECALC_EVENT);
        } else {
            radarChartMode.set(MODE);
        }
    }
837182
public void setDistorted( int which , float x , float y ) {
		controls.get(which).q.set(x,y);
	}
540441
public void setSplitterPositionPercent(float position) {
        mSplitterPosition = Integer.MIN_VALUE;
        mSplitterPositionPercent = clamp(position, 0, 1);
        remeasure();
        notifySplitterPositionChanged(false);
    }
420204
public void setSelection(int position) {
		if(mAdapter != null)
			position = Math.max(0, Math.min(position, mAdapter.getCount() - 1));

		if(mSelectedPosition != position){
			mSelectedPosition = position;

			if(mOnItemSelectedListener != null)
				mOnItemSelectedListener.onItemSelected(this, getSelectedView(), position, mAdapter == null ? -1 : mAdapter.getItemId(position));

			onDataInvalidated();
		}
	}
608591
@SuppressWarnings("unchecked")
    private T roundOffValueToStep(T value) {
        double d = Math.round(value.doubleValue() / absoluteStepValuePrim) * absoluteStepValuePrim;
        return (T) numberType.toNumber(Math.max(absoluteMinValuePrim, Math.min(absoluteMaxValuePrim, d)));
    }
56319
@Override
    public void setPercentValue(GpioPinAnalogOutput pin, Number percent){
        setPercentValue(pin.getPin(), percent);
    }
710554
public void setMax (BigDecimal max) {
		if (min.compareTo(max) > 0) throw new IllegalArgumentException("min can't be > max");

		this.max = max;

		if (current.compareTo(max) > 0) {
			current = max.setScale(scale, BigDecimal.ROUND_HALF_UP);
			spinner.notifyValueChanged(spinner.isProgrammaticChangeEvents());
		}
	}
1361502
private void verifyInput() {
        if (inData == null || inStations == null) {
            throw new NullPointerException(msg.message("kriging.stationproblem"));
        }
        if (pMode < 0 || pMode > 1) {
            throw new IllegalArgumentException(msg.message("kriging.defaultMode"));
        }

        if (defaultVariogramMode != 0 && defaultVariogramMode != 1) {
            throw new IllegalArgumentException(msg.message("kriging.variogramMode"));
        }
        if (defaultVariogramMode == 0) {
            if (pVariance == 0 || pIntegralscale[0] == 0 || pIntegralscale[1] == 0 || pIntegralscale[2] == 0) {

                pm.errorMessage(msg.message("kriging.noParam"));
                pm.errorMessage("varianza " + pVariance);
                pm.errorMessage("Integral scale x " + pIntegralscale[0]);
                pm.errorMessage("Integral scale y " + pIntegralscale[1]);
                pm.errorMessage("Integral scale z " + pIntegralscale[2]);
            }
        }
        if (defaultVariogramMode == 1) {
            if (pNug == 0 || pS == 0 || pA == 0) {
                pm.errorMessage(msg.message("kriging.noParam"));
                pm.errorMessage("Nugget " + pNug);
                pm.errorMessage("Sill " + pS);
                pm.errorMessage("Range " + pA);
            }
        }

        if ((pMode == 0) && inInterpolate == null) {
            throw new ModelsIllegalargumentException(msg.message("kriging.noPoint"), this, pm);
        }
        if (pMode == 1 && inInterpolationGrid == null) {
            throw new ModelsIllegalargumentException("The gridded interpolation needs a gridgeometry in input.", this, pm);
        }

    }
483097
public final void setIconTintMode(@NonNull final PorterDuff.Mode tintMode) {
        Condition.INSTANCE.ensureNotNull(tintMode, "The tint mode may not be null");
        this.tintMode = tintMode;
        adaptIconTint();
    }
695587
public static void getDefaultPivot(Settings settings, Point out) {
        getMovementAreaPosition(settings, tmpRect2);
        Gravity.apply(settings.getGravity(), 0, 0, tmpRect2, tmpRect1);
        out.set(tmpRect1.left, tmpRect1.top);
    }
36447
public static BigDecimal round(BigDecimal number, int scale, RoundingMode roundingMode) {
		if (null == number) {
			number = BigDecimal.ZERO;
		}
		if (scale < 0) {
			scale = 0;
		}
		if (null == roundingMode) {
			roundingMode = RoundingMode.HALF_UP;
		}

		return number.setScale(scale, roundingMode);
	}
111628
private boolean clampPosition() {
        if (mPosition < 0) {
            mPosition = -1;
            return false;
        } else if (mPosition > mList.size()) { // TODO should this be >= instead of >
            mPosition = mList.size();
            return false;
        }
        return true;
    }
328786
public void setVariant(int variant) {
        if (symbolMode != Mode.MICRO) {
            throw new IllegalArgumentException("Can only set variant when using MICRO mode.");
        }
        if (variant < 1 || variant > 34) {
            throw new IllegalArgumentException("Variant must be between 1 and 34.");
        }
        this.columns = MICRO_VARIANTS[variant - 1];
        this.rows = MICRO_VARIANTS[variant - 1 + 34];
    }
1223997
public void setRetainViewMode(@NonNull RetainViewMode retainViewMode) {
        this.retainViewMode = retainViewMode != null ? retainViewMode : RetainViewMode.RELEASE_DETACH;
        if (this.retainViewMode == RetainViewMode.RELEASE_DETACH && !attached) {
            removeViewReference();
        }
    }
176373
public void setValue(Vector3f scale) {
        mX = scale.x;
        mY = scale.y;
        mZ = scale.z;
    }