Newer
Older
masterarbeit / usedMcode / ridgeCorrelation.m
@Jan-Peter Hohloch Jan-Peter Hohloch on 17 Oct 2016 155 bytes fix? correlations
function [correlation]=ridgeCorrelation(data,kin,coeffs)
    prediction=coeffs(1)+data*coeffs(2:end);
    
    correlation=diag(corr(kin,prediction));

end