Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RoboJackets/software-training
/ toLogOdds
Function
toLogOdds
reference_solutions/mapping/src/mapping_node.cpp:37–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
{
36
37
double toLogOdds(double prob)
38
{
39
return std::log(prob / (1.0 - prob));
40
}
41
42
double fromLogOdds(double log_odds)
43
{
Callers
2
MappingNode
Method · 0.70
UpdateProbability
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected