Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ set_c
Function
set_c
tools/python/src/svm_rank_trainer.cpp:70–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
69
template <typename trainer_type>
70
void set_c ( trainer_type& trainer, double C)
71
{
72
pyassert(C > 0,
"C must be > 0"
);
73
trainer.set_c(C);
74
}
75
76
template <typename trainer_type>
77
double get_c (const trainer_type& trainer)
Callers
nothing calls this directly
Calls
1
set_c
Method · 0.45
Tested by
no test coverage detected