Suppress the following console output
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
My friend and I are making an SVM on our own (not using ML toolbox), and getting the following console output from a function we're using
"Minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the default value of the optimality tolerance,
and constraints are satisfied to within the default value of the constraint tolerance.
<stopping criteria details>."
How can we suppress this message? I looked at other answers and they don't seem to help us. Thanks!
0 comentarios
Respuestas (1)
Walter Roberson
el 26 de Feb. de 2018
>> fminunc(@(x) x.^2-1, 55)
Local minimum found.
Optimization completed because the size of the gradient is less than
the default value of the optimality tolerance.
<stopping criteria details>
ans =
-6.16516743434659e-07
>> fminunc(@(x) x.^2-1, 55, optimoptions('fminunc','Display','none'))
ans =
-6.16516743434659e-07
0 comentarios
Ver también
Categorías
Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!