Is there any way to define a loss function in optimization problems?
조회 수: 3 (최근 30일)
이전 댓글 표시
Is there any way to define a loss function when setting up an optimization problem using the optimization toolbox?
Main purpose: outlier detection.
Examples for loss functions in other optimization libraries:
- Ceres solver: http://ceres-solver.org/nnls_modeling.html?highlight=loss#lossfunction
- scipy.optimize.least_squares: https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.least_squares.html
댓글 수: 0
답변 (1개)
Matt J
2021년 3월 10일
Yes, absolutely. Without a function to optimize, it's not an optimization problem.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!