Negative Log Likelyhood, what base?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
When calculating the negative log likelihood loss, what base of log are we supposed to use?
machine-learning loss-function
New contributor
add a comment |Â
up vote
1
down vote
favorite
When calculating the negative log likelihood loss, what base of log are we supposed to use?
machine-learning loss-function
New contributor
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
When calculating the negative log likelihood loss, what base of log are we supposed to use?
machine-learning loss-function
New contributor
When calculating the negative log likelihood loss, what base of log are we supposed to use?
machine-learning loss-function
machine-learning loss-function
New contributor
New contributor
New contributor
asked 5 hours ago
Brandon Lavigne
1061
1061
New contributor
New contributor
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
3
down vote
Typically it is implemented as the natural logarithm, base e. Other bases can be used for the same effect though.
1
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
add a comment |Â
up vote
2
down vote
The change in base is equivalent to multiplying the function by a constant. It does not affect the computation.
$
log_b(x) = dfrac1log_e(b).log_e(x)
$
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
Typically it is implemented as the natural logarithm, base e. Other bases can be used for the same effect though.
1
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
add a comment |Â
up vote
3
down vote
Typically it is implemented as the natural logarithm, base e. Other bases can be used for the same effect though.
1
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Typically it is implemented as the natural logarithm, base e. Other bases can be used for the same effect though.
Typically it is implemented as the natural logarithm, base e. Other bases can be used for the same effect though.
answered 3 hours ago
JahKnows
4,211423
4,211423
1
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
add a comment |Â
1
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
1
1
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
(+1) for "Typically it is implemented as the natural logarithm, base e. Other bases can be used". However "for the same effect" may be slightly misleading -- there's a reason the natural logarithm is usually used: For many distributions, it makes the math convenient. Using some other base, while convenient in some cases, would not be as convenient as often as the natural logarithm.
â duckmayr
7 mins ago
add a comment |Â
up vote
2
down vote
The change in base is equivalent to multiplying the function by a constant. It does not affect the computation.
$
log_b(x) = dfrac1log_e(b).log_e(x)
$
add a comment |Â
up vote
2
down vote
The change in base is equivalent to multiplying the function by a constant. It does not affect the computation.
$
log_b(x) = dfrac1log_e(b).log_e(x)
$
add a comment |Â
up vote
2
down vote
up vote
2
down vote
The change in base is equivalent to multiplying the function by a constant. It does not affect the computation.
$
log_b(x) = dfrac1log_e(b).log_e(x)
$
The change in base is equivalent to multiplying the function by a constant. It does not affect the computation.
$
log_b(x) = dfrac1log_e(b).log_e(x)
$
answered 2 hours ago
Anshul G.
1967
1967
add a comment |Â
add a comment |Â
Brandon Lavigne is a new contributor. Be nice, and check out our Code of Conduct.
Brandon Lavigne is a new contributor. Be nice, and check out our Code of Conduct.
Brandon Lavigne is a new contributor. Be nice, and check out our Code of Conduct.
Brandon Lavigne is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f40650%2fnegative-log-likelyhood-what-base%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password