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/saveResults.m
View on GitHubfunction MatPath = saveResults(Results, OutputDir, Options)
%saveResults Persist the full run Results struct to fe_results_<dataset>.mat.
%
% MatPath = saveResults(Results, OutputDir) writes the complete Results
% struct -- every phase's output verbatim (vote table, selection frequency,
% quality, baseline/k-fold, deliverables, ...) -- to
% <OutputDir>/fe_results_<dataset>.mat and returns its path.
%
% This is the machine-readable companion to the written report: the report
% previews the top features, but this .mat holds every table at full
% resolution, so nothing shown in a plot or a truncated table is lost. It is
% saved UNCONDITIONALLY -- on a report opt-out the report and its figures are
% skipped, but this file still ships, so a run's numbers are always recoverable.
% Load it and inspect the Results struct:
%
% S = load("fe_results_<dataset>.mat");
% S.Results.VoteTable % complete consensus vote
% S.Results.SelStab.SelectionFrequency % complete per-feature stability
%
% Inputs:
% Results (1,1) struct - the assembled run Results (see generateFeatureReport)
% OutputDir (1,1) string - destination folder (created if absent)
% Options.DatasetName (1,1) string = "dataset" names the file; sanitized to
% a valid identifier, matching
% the fe_transform_<dataset> pair
%
% Output:
% MatPath - full path to the written .mat
% Copyright 2026 The MathWorks, Inc.
arguments
Results (1,1) struct
OutputDir (1,1) string
Options.DatasetName (1,1) string = "dataset"
end
if ~isfolder(OutputDir)
mkdir(OutputDir);
end
% Share the fe_transform_<dataset> stem-sanitizing rule so the results file
% sits alongside the inference pair under one recognizable dataset label.
Stem = "fe_results_" + matlab.lang.makeValidName(Options.DatasetName);
MatPath = fullfile(OutputDir, Stem + ".mat");
save(MatPath, "Results");
fprintf('Wrote full results to %s\n', MatPath);
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: 468k | 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: 319k | 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: 319k | 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: 319k | Updated | Claude CodeCodex | Verified | Install |