matlab/matlab-agentic-toolkit / skills-catalog/ai-and-statistics/matlab-engineer-tabular-features
matlab-engineer-tabular-features
UnverifiedUse when engineering or selecting the best features for single-response classification or regression in MATLAB, whatever the data's modality — for non-tabular data it routes extraction to a domain skill, then selects, assesses, and delivers on the resulting table. Not for multi-response problems, model training, or raw data acquisition.
scripts/rankAgreement.m
View on GitHubfunction [MeanRho, PairwiseRho] = rankAgreement(Rankings)
%rankAgreement Compute mean pairwise Spearman correlation among ranking vectors.
% [MeanRho, PairwiseRho] = rankAgreement(Rankings) measures how much
% multiple ranking methods agree. Used to select the consensus voter:
% high agreement (MeanRho >= 0.7) favors Borda, low agreement favors RRF.
%
% Input:
% Rankings — 1-by-M cell array where each cell contains a 1-by-P
% vector of feature indices sorted by descending importance
% (output of rankFeatures)
%
% Outputs:
% MeanRho — scalar mean of all pairwise Spearman correlations
% PairwiseRho — M-by-M symmetric matrix of pairwise correlations
% Copyright 2026 The MathWorks, Inc.
arguments
Rankings (1,:) cell
end
M = numel(Rankings);
p = numel(Rankings{1});
% Each column is one method's position vector (feature index -> rank), so
% corr returns the full M-by-M pairwise Spearman matrix in one call.
Positions = zeros(p, M);
for m = 1:M
Positions(Rankings{m}, m) = 1:p;
end
PairwiseRho = corr(Positions, Type="Spearman");
if M > 1
UpperTriIdx = triu(true(M), 1);
MeanRho = mean(PairwiseRho(UpperTriIdx));
else
MeanRho = 1.0;
end
end
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |