Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在最小非线性平方函数中添加一个正则项。如何在 Ceres Solver 中进行操作?
纯 L1 范数残差是不可微的,您不能将它与 ceres 或任何依赖于导数的求解器一起使用。但是,Huber 损失或 Ceres 包含的 SoftL1 损失是 L1 损失的平滑近似,您应该能够使用它们。
http://ceres-solver.org/nnls_modeling.html#instances