У меня есть многомерная функция, которую я хотел бы оптимизировать (найти ее минимум) при ограничениях.
Функция:
def f(
numerical_dropout,
mixed_dropout3,
categorical_dim,
embed_shop_dim ,last_layer_dim,
last_layer_dropout,
mixed_dim1,
embed_category_dim,
mixed_dropout1,
embed_item_dim ,
mixed_dropout2,
mixed_dim3,
categorical_dropout ,numerical_dim):
f_ = -2.39 * numerical_dim + 2.10 * numerical_dropout -1.95 *embed_category_dim * mixed_dropout3 \
- 1.93 * embed_category_dim * last_layer_dim +\
1.75 * categorical_dim + 1.74 * embed_shop_dim * last_layer_dim + -1.50 * last_layer_dropout + \
-1.48 * mixed_dim1 + 1.43 * mixed_dim3 +\
1.39 * embed_category_dim + 1.26*mixed_dropout1 * mixed_dropout3 + 1.24*mixed_dropout1 \
-1.23 * embed_item_dim * numerical_dim + \
1.19 * mixed_dropout2 -1.03 * embed_category_dim * mixed_dim3 + categorical_dropout * numerical_dim
return(f_)
Ограничения:
numerical_dropout >0 & <0.7
mixed_dropout3 >0 & <0.7
categorical_dim > 4
embed_shop_dim >4
last_layer_dim >4
last_layer_dropout >0 & <0.7
mixed_dim1 > 4
embed_category_dim>4
mixed_dropout1 >0 & <0.7
embed_item_dim >4
mixed_dropout2 >0 & <0.7
mixed_dim3 >4
categorical_dropout >0 & <0.7
numerical_dim >4
Откуда я go отсюда?