Community Profile

photo

Yagiz Dereboy


Last seen: 2 meses ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Solver based optimization passing extra parameters
My solver function is giving an error: Unrecognized function or variable 'aa'. Error in untitled>constraintFcn (line 46) c =...

3 meses ago | 1 answer | 0

1

answer

Question


"Too many output arguments" error while working with the fmincon solver inside the optimization tool.
Explenation after the code. % Set nondefault solver options options2 = optimoptions('fmincon','PlotFcn','optimplotfvalconstr')...

3 meses ago | 1 answer | 0

1

answer

Question


Onehotencode function is giving more columns which are filled with zeros than the number of categories.
a = readtable("mushrooms.csv"); aa = categorical(table2array(a)); b = onehotencode(aa(:,1),2); first column has 2 categories ...

3 meses ago | 2 answers | 0

2

answers