@Override
    public void validate(String name, String value) throws ParameterException {
        if(!value.equals(ArbiterCliRunner.MULTI_LAYER_NETWORK) || value.equals(ArbiterCliRunner.COMP_GRAPH)) {
            throw new ParameterException("Neural net type can only be " + ArbiterCliRunner.COMP_GRAPH + " or " + ArbiterCliRunner.MULTI_LAYER_NETWORK);

        }
    }
@ Override public void validate ( String name , String value ) throws ParameterException { if ( ! value . equals ( ArbiterCliRunner . MULTI_LAYER_NETWORK ) || value . equals ( ArbiterCliRunner . COMP_GRAPH ) ) { throw new ParameterException ( "Neural net type can only be " + ArbiterCliRunner . COMP_GRAPH + " or " + ArbiterCliRunner . MULTI_LAYER_NETWORK ) ; } }
Validate the parameter.

@param name  The name of the parameter (e.g. "-host").
@param value The value of the parameter that we need to validate
@throws ParameterException Thrown if the value of the parameter is invalid.