Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
36bf764a
Commit
36bf764a
authored
Jan 17, 2013
by
Davis King
Browse files
renamed function
parent
a2ae46cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dlib/svm/svm.h
dlib/svm/svm.h
+1
-1
dlib/svm/svm_abstract.h
dlib/svm/svm_abstract.h
+2
-2
No files found.
dlib/svm/svm.h
View file @
36bf764a
...
@@ -559,7 +559,7 @@ namespace dlib
...
@@ -559,7 +559,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline
double
platt_sc
or
e
(
inline
double
platt_sc
al
e
(
const
std
::
pair
<
double
,
double
>&
params
,
const
std
::
pair
<
double
,
double
>&
params
,
const
double
score
const
double
score
)
)
...
...
dlib/svm/svm_abstract.h
View file @
36bf764a
...
@@ -132,7 +132,7 @@ namespace dlib
...
@@ -132,7 +132,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline
double
platt_sc
or
e
(
inline
double
platt_sc
al
e
(
const
std
::
pair
<
double
,
double
>&
params
,
const
std
::
pair
<
double
,
double
>&
params
,
const
double
score
const
double
score
);
);
...
@@ -156,7 +156,7 @@ namespace dlib
...
@@ -156,7 +156,7 @@ namespace dlib
- This function learns to map scalar values into well calibrated probabilities
- This function learns to map scalar values into well calibrated probabilities
using Platt scaling. In particular, it returns a params object such that:
using Platt scaling. In particular, it returns a params object such that:
- for all valid i:
- for all valid i:
- platt_sc
or
e(params,scores[i]) == the scaled version of the scalar value
- platt_sc
al
e(params,scores[i]) == the scaled version of the scalar value
scores[i]. That is, the output is a number between 0 and 1.
scores[i]. That is, the output is a number between 0 and 1.
- This function is an implementation of the algorithm described in the following
- This function is an implementation of the algorithm described in the following
papers:
papers:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment