Похожие чаты

If i want to calculate the MAE training instead of

the MSE training, can i simply use mae function? or it's needed to use gradient of MAE instead of MSE in gradient_descent function?

here is the code

4 ответов

16 просмотров

You need the correspondent gradient for MAE since its a different loss function. Here is an example: https://github.com/chenxingwei/machine_learning_from_scratch/blob/master/algorithm/2.linearRegressionGradientDescent.md

erik- Автор вопроса
Richardt
You need the correspondent gradient for MAE since ...

a guy told me that the model can be trained with gradient of MSE then the error can be calculated with different error metric such as MAE, MAPE and so on, is this a correct way? also in some papers several error metric such as MSE, MAE and MAPE used to measure the error of the model so do they train the model with the gradient of MSE, MAE and MAPE in order to calculate the error with these metrics?

erik
a guy told me that the model can be trained with g...

In general, the "loss" function is not the same as an error "metric". For training, the loss is used to train the model, then, you need its gradient for the optimization process. The loss function and its gradient guide the training process. For evaluation of regression models, you can use multiple metrics like MSE, MAE, etc., to study different aspects of the model performance. However, metrics do not directly influence the training process, their intent is to be more interpretative.

erik- Автор вопроса

Похожие вопросы

Обсуждают сегодня

я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
50
читать файл максимально быстро? странный вопрос))
zamtmn
53
30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
5
Интересно, а майкрософт 365 может запустится на линукс минт?
Лисицка
18
How to create an OS in C? what to study?
Linus
18
Всем доброго вечера! Хочу поделиться своим злоключением с человеком, который, как оказалось сюда тоже скидывал свое резюме. Жаль, что я вашу группу не нашел раньше… человек ки...
Роман Ахмедзянов
4
братва! где куличи брать?
Alöscha
25
тоесть, указав return eax, сгенерируется никому ненужная инструкция mov eax,eax ?
Aiwan \ (•◡•) / _bot
24
Компания Elif ищет менеджера проектов, который будет заниматься поиском и ведением новых проектов. Прежде чем приступить к работе, вам нужно пройти наш недельный курс, где вы ...
Elif
5
Посоветуйте пожалуйста аудио плеер для библиотеки mp3- FLAC на компьютере. На Винде пользовался Aimp, в том числе для конвертации. Много нужных команд было прямо в контекст...
Виктор Кузнецов
31
Карта сайта