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
6ab58820
Commit
6ab58820
authored
Mar 11, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified spec
parent
4c93d676
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
rls_filter_abstract.h
dlib/filtering/rls_filter_abstract.h
+9
-8
No files found.
dlib/filtering/rls_filter_abstract.h
View file @
6ab58820
...
...
@@ -26,7 +26,7 @@ namespace dlib
determine how to best combine the contents of the history buffer to
predict each point. Therefore, each time update() is called with
a point, recursive least squares updates the linear combination weights,
and then
we insert
the point into the history buffer. After that, the
and then
it inserts
the point into the history buffer. After that, the
next prediction is based on these updated weights and the current history
buffer.
!*/
...
...
@@ -38,8 +38,8 @@ namespace dlib
/*!
ensures
- #get_window_size() == 5
- #get_c() == 100
- #get_forget_factor() == 0.8
- #get_c() == 100
- #get_predicted_next_state().size() == 0
!*/
...
...
@@ -84,11 +84,11 @@ namespace dlib
linearly combining the history buffer into a prediction of the next point.
- else
- Old calls to update(z) are eventually forgotten. That is, the smaller
the forget factor, the less
the recursive least squares algorithm will
care about attempting to find linear combination weights which would have
make good predictions on old points. It will care more about fitting
recent points. This is appropriate if the statistical properties of
the time
series we are modeling are not constant.
the forget factor, the less
recursive least squares will care about
attempting to find linear combination weights which would have make
good predictions on old points. It will care more about fitting recent
points. This is appropriate if the statistical properties of the time
series we are modeling are not constant.
!*/
unsigned
long
get_window_size
(
...
...
@@ -104,7 +104,7 @@ namespace dlib
/*!
ensures
- Propagates the prediction forward in time.
- In particular, the value in
#
get_predicted_next_state() is inserted
- In particular, the value in get_predicted_next_state() is inserted
into the history buffer and then the next prediction is estimated
based on this updated history buffer.
- #get_predicted_next_state() == the prediction for the next point
...
...
@@ -130,6 +130,7 @@ namespace dlib
these updated weights and history buffer.
- #get_predicted_next_state() == the prediction for the next point
in the time series.
- #get_predicted_next_state().size() == z.size()
!*/
const
matrix
<
double
,
0
,
1
>&
get_predicted_next_state
(
...
...
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