# Parameter Spaces

### BooleanSpace

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/BooleanSpace.java)

If argument to setValue is less than or equal to 0.5 it will return True else False

### FixedValue

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/FixedValue.java)

FixedValue is a ParameterSpace that defines only a single fixed value

### ContinuousParameterSpace

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/continuous/ContinuousParameterSpace.java)

**getValue**

```
public Double getValue(double[] input) 
```

ContinuousParameterSpace with uniform distribution between the minimum and maximum values

* param min Minimum value that can be generated
* param max Maximum value that can be generated

### DiscreteParameterSpace

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/discrete/DiscreteParameterSpace.java)

A DiscreteParameterSpace is used for a set of un-ordered values

### IntegerParameterSpace

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/integer/IntegerParameterSpace.java)

some minimum and maximum value

#### **getMin**

```
public int getMin() 
```

Create an IntegerParameterSpace with a uniform distribution between the specified min/max (inclusive)

* param min Min value, inclusive
* param max Max value, inclusive

### MathOp

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/math/MathOp.java)

A simple parameter space that implements scalar mathematical operations on another parameter space. This allows you to do things like Y = X 2, where X is a parameter space. For example, a layer size hyperparameter could be set using this to 2x the size of the previous layer

### PairMathOp

[\[source\]](https://github.com/eclipse/deeplearning4j/tree/master/arbiter/arbiter-core/src/main/java/org/deeplearning4j/arbiter/optimize/parameter/math/PairMathOp.java)

A simple parameter space that implements pairwise mathematical operations on another parameter space. This allows you to do things like Z = X + Y, where X and Y are parameter spaces.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deeplearning4j.konduit.ai/en-1.0.0-beta7/arbiter/parameter-spaces.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
