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
bfcae263
Commit
bfcae263
authored
Sep 22, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
fcdd5aca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
cca_abstract.h
dlib/statistics/cca_abstract.h
+6
-3
No files found.
dlib/statistics/cca_abstract.h
View file @
bfcae263
...
...
@@ -29,10 +29,13 @@ namespace dlib
row vectors. In particular, we return a vector COR such that:
- COR.size() == L.nc()
- for all valid i:
- COR(i) == the correlation coefficient between the following
sequence
of paired numbers: (L(k,i), R(k,i)) for k: 0 <= k < L.nr().
- COR(i) == the correlation coefficient between the following
sequence
of paired numbers: (L(k,i), R(k,i)) for k: 0 <= k < L.nr().
Therefore, COR(i) is a value between -1 and 1 inclusive where 1
indicates perfect correlation and -1 perfect anti-correlation.
indicates perfect correlation and -1 perfect anti-correlation. Note
that this function assumes the input data vectors have been centered
(i.e. made to have zero mean). If this is not the case then it will
report inaccurate results.
!*/
// ----------------------------------------------------------------------------------------
...
...
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