mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-05-14 11:17:53 +00:00
14 lines
629 B
Matlab
14 lines
629 B
Matlab
function [ meanSquaredError, correlation, predictions ] = EvaluatePatchExpert( samples, labels, alphas, betas, thetas, similarities, sparsities, normalisationOptions, region_length )
|
|
%EVALUATEPATCHEXPERT Summary of this function goes here
|
|
% Detailed explanation goes here
|
|
|
|
num_seqs = size(samples, 2)/region_length;
|
|
|
|
% adding the bias term, and transposing to optimise
|
|
labels = reshape(labels, region_length, num_seqs);
|
|
|
|
[~,~,~, ~, correlation, meanSquaredError, predictions] = evaluate_CCNF_model(alphas, betas, thetas, samples, labels, similarities, sparsities, 0, 1, false);
|
|
|
|
end
|
|
|