Mercurial > hg > camir-aes2014
annotate core/magnatagatune/tests_evals/euclidean_wrapper.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 function [A, diag] = euclidean_wrapper(X, Y, trainparams) |
wolffd@0 | 2 % dummy wrapper to plug the euclidean distance measure into the |
wolffd@0 | 3 % testing set |
wolffd@0 | 4 |
wolffd@0 | 5 % --- |
wolffd@0 | 6 % call main training function |
wolffd@0 | 7 % --- |
wolffd@0 | 8 A = eye(size(X,1)); |
wolffd@0 | 9 |
wolffd@0 | 10 diag.trainfun = 'euclidean'; |
wolffd@0 | 11 diag.interpreter = 'DistMeasureMahal'; |