Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f15e4e58
Commit
f15e4e58
authored
Jul 04, 2019
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed grammar in comments
parent
aee97d9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
isotonic_regression.h
dlib/optimization/isotonic_regression.h
+1
-1
isotonic_regression_abstract.h
dlib/optimization/isotonic_regression_abstract.h
+2
-2
No files found.
dlib/optimization/isotonic_regression.h
View file @
f15e4e58
...
...
@@ -60,7 +60,7 @@ namespace dlib
// Unpack blocks to output, but here instead of producing the step function
// output we linearly interpolate. Note that this actually fits the data less
// than the step-function, but in many applications might be closer to what you
// really w
hen
when using isotonic_regression than the step function.
// really w
ant
when using isotonic_regression than the step function.
for
(
size_t
i
=
0
;
i
<
blocks
.
size
();
++
i
)
{
auto
&
block
=
blocks
[
i
];
...
...
dlib/optimization/isotonic_regression_abstract.h
View file @
f15e4e58
...
...
@@ -34,7 +34,7 @@ namespace dlib
requires
- [begin,end) is an iterator range of float or doubles or a range of
std::pair<T,double> or std::pair<T,float> where T an be anything.
- obegin points to an iterator range at least std::distance(begin,end).
- obegin points to an iterator range at least std::distance(begin,end)
elements
.
- obegin points to an iterator range of objects of type float, double, std::pair<T,float>, or std::pair<T,double>.
ensures
- Given the range of real values stored in [begin,end), this method performs isotonic regression
...
...
@@ -91,7 +91,7 @@ namespace dlib
- obegin points to an iterator range of objects of type float, double, std::pair<T,float>, or std::pair<T,double>.
ensures
- This function behaves just like (*this)(begin,end,obegin) except that the
output is interpolated. To explain, not that the optimal output of
output is interpolated. To explain, not
e
that the optimal output of
isotonic regression is a step function. However, in many applications
that isn't really what you want. You want something smoother. So
fit_with_linear_output_interpolation() does isotonic regression and then
...
...
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