matlab/matlab-agentic-toolkit / skills-catalog/ai-and-statistics/matlab-classify-tabular-data
matlab-classify-tabular-data
UnverifiedUse this skill to classify tabular data end-to-end in MATLAB — load a dataset, prepare and clean it, select promising classifiers, train them, and compare accuracies with cross-validation, holdout, or hyperparameter optimization plus statistical tests. TRIGGER when: user asks to classify tabular data, pick classifiers for a dataset, compare classifier accuracy, run cross-validation or a holdout evaluation, or find the best model with statistical uncertainty. DO NOT TRIGGER when: user has non-tabular inputs (images, sequences, time series), wants a regression model, is training a specific neural network architecture (use matlab-train-network), or wants cost-sensitive learning or an arbitrary class-prior vector (this skill only supports the built-in uniform-prior toggle for imbalanced data).
scripts/helpers/plot_accuracy_bars.m
View on GitHubfunction plot_accuracy_bars(modelNames, acc, accCI, topTierIdx, titleStr)
[accSorted, order] = sort(acc, 'descend');
namesSorted = modelNames(order);
ciSorted = accCI(order, :);
nModels = numel(modelNames);
isTop = false(1, nModels);
isTop(topTierIdx) = true;
isTopSorted = isTop(order);
figure;
hold on;
for m = 1:nModels
if isTopSorted(m)
barColor = [0.20 0.55 0.85];
else
barColor = [0.70 0.70 0.70];
end
bar(m, accSorted(m) * 100, 'FaceColor', barColor, 'EdgeColor', 'none');
end
errLow = (accSorted(:) - ciSorted(:,1)) * 100;
errHigh = (ciSorted(:,2) - accSorted(:)) * 100;
errorbar(1:nModels, accSorted * 100, errLow, errHigh, 'k', 'LineStyle', 'none', 'CapSize', 6);
set(gca, 'XTick', 1:nModels, 'XTickLabel', namesSorted, 'XTickLabelRotation', 30);
ylabel('Accuracy (%)');
title(titleStr);
grid on;
hold off;
end
% Copyright 2026 The MathWorks, Inc.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |