Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

CLIMATE-483 - Add basic PatternCorrelation metric #85

Merged
merged 2 commits into from Jul 2, 2014

Conversation

MJJoyce
Copy link
Member

@MJJoyce MJJoyce commented Jul 2, 2014

  • Rename old PatternCorrelation metric to TemporalPatternCorrelation
    since it does an annual reshaping of the datasets before doing a
    comparison and that isn't adequately reflected in the metric's name.
    The new name also falls in line with the functionality of the
    TemporalStdDevRatio metric which also does such a rebin.
  • Add basic PatternCorrelation metric that uses
    scipy.stats.mstats.linregress to return the r_value for the reference
    and target datasets. Note, the metric no longer returns a tuple of
    values. It now only returns the r_value. This falls much more in line
    with the metrics name in my opinion.

@OCWJenkins
Copy link

Merged build triggered. Test Failed.

@OCWJenkins
Copy link

Merged build started. Test Failed.

@OCWJenkins
Copy link

Merged build finished. Test Failed.

- Rename old PatternCorrelation metric to TemporalPatternCorrelation
  since it does an annual reshaping of the datasets before doing a
  comparison and that isn't adequately reflected in the metric's name.
  The new name also falls in line with the functionality of the
  TemporalStdDevRatio metric which also does such a rebin.
- Add basic PatternCorrelation metric that uses
  scipy.stats.pearsonr to return the r_value for the reference
  and target datasets. Note, the metric no longer returns a tuple of
  values. It now only returns the r_value. This falls much more in line
  with the metrics name in my opinion.
@OCWJenkins
Copy link

Merged build triggered. Test Failed.

@OCWJenkins
Copy link

Merged build started. Test Failed.

@OCWJenkins
Copy link

Merged build finished. Test Passed.

@asfgit asfgit merged commit c8ab8c2 into apache:master Jul 2, 2014
asfgit pushed a commit that referenced this pull request Jul 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants