optimizableVariable
Variable description for bayesopt
or other
optimizers
Description
Create variables for optimizers.
Creation
Syntax
Description
variable = optimizableVariable(
creates a variable with the specified name and range of values.Name
,Range
)
variable = optimizableVariable(
sets properties using
name-value arguments. For example, Name
,Range
,Name,Value)optimizableVariable('xvar',[1
1000],'Type','integer')
creates an integer variable from 1 to
1000. You can specify multiple name-value arguments. Enclose each property name
in quotes.
Properties
Object Functions
bayesopt | Select optimal machine learning hyperparameters using Bayesian optimization |
Examples
Version History
Introduced in R2016b