Giter Site home page Giter Site logo

cca's Introduction

CCA

Optimized Matlab code to perform Canonical Correlation Analysis for paleoclimate reconstructions

cca_master_example.m: an example illustrating the workflow of climate field reconstructions using CCA. The example uses a pseudoproxy network, but the code can be generalized to use on any other datasets (including real-world proxies). The following functions are called within the master code:

cca_cfr.m: implement CCA reconstructions, in which the CCA parameters are estimated using the cca_cv.m function

cca_cfr_parallel.m: parallel the cca_cfr.m script. This is particularly useful when dealing with sparse matrices (i.e. matrices with missing values, for instance, a real-world proxy matrix). In cca_cfr_parallel.m, a set of CCA parameters is needed for each pattern of missing values. The script is coded to parallel the computation of CCA parameters of different patterns.

cca_cv.m: estimate the set of CCA parameters using cross-validation (CV). By default, leave-half-out CV as implemented in Smerdon et al., 2010 is used.

cca_bp.m: make predictions using CCA in the Barnett-Preisendorfer version (CCA-BP)

standardize.m: a function that standardizes a matrix and return the standardized matrix and the original matrix’s mean and standard deviation.

##Reference:## Wang, J., J. Emile-Geay, D. Guillot, J.E. Smerdon, and B. Rajaratnam, 2014: Evaluating climate field reconstruction techniques using improved emulations of real-world conditions, Clim., Past, 10, 1-19. http://www.clim-past.net/10/1/2014/cp-10-1-2014.html

Smerdon, J.E., A. Kaplan, D. Chang, and M.N. Evans, 2010: A pseudoproxy evaluation of the CCA and RegEM methods for reconstructing climate fields of the last millennium, J. Climate, 23, 4856-4880. http://rainbow.ldeo.columbia.edu/~alexeyk/Papers/Smerdon_etal2010CCApblshd.pdf

Please cite the following DOI when you use the code: DOI

cca's People

Contributors

commonclimate avatar

Watchers

James Cloos avatar FU Zhipeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.