Я часто использую fminunc
для проблемы логистической регрессии. Я читал в Интернете, что Andrew Ng использует fmincg
вместо fminunc
, с теми же аргументами. Результаты разные, и часто fmincg
является более точным, но не слишком большим. (Я сравниваю результаты функции fmincg fminunc с теми же данными)
Итак, мой вопрос: в чем разница между этими двумя функциями? Какой алгоритм выполняет каждая функция? (Теперь я просто использую эти функции, не зная, как они работают).
Спасибо:)