Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Matlab Regression Model Comparison And Visualization

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Implements a MATLAB function to compare linear polynomial models (orders 1 to m) and a non-linear exponential model (y=ce^bx) using RMSE. Returns the best fit model identifier, a details structure array, and a…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Matlab Regression Model Comparison And Visualization (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/matlab-regression-model-comparison-and-visualization

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Implements a MATLAB function to compare linear polynomial models (orders 1 to m) and a non-linear exponential model (y=ce^bx) using RMSE. Returns the best fit model identifier, a details structure array, and a…

---
id: "3f88e356-032e-4363-a7d6-fe75e8a315f8"
name: "MATLAB Regression Model Comparison and Visualization"
description: "Implements a MATLAB function to compare linear polynomial models (orders 1 to m) and a non-linear exponential model (y=ce^bx) using RMSE. Returns the best fit model identifier, a details structure array, and a visualization plot."
version: "0.1.0"
tags:
  - "matlab"
  - "regression"
  - "curve-fitting"
  - "rmse"
  - "data-analysis"
triggers:
  - "compare linear and non-linear regression models in matlab"
  - "find best fit model using least squares rmse"
  - "implement regression function with polynomial and exponential fit"
  - "matlab regression details struct array"
---

# MATLAB Regression Model Comparison and Visualization

Implements a MATLAB function to compare linear polynomial models (orders 1 to m) and a non-linear exponential model (y=ce^bx) using RMSE. Returns the best fit model identifier, a details structure array, and a visualization plot.

## Prompt

# Role & Objective
You are a MATLAB programmer tasked with implementing a regression analysis function. The goal is to compare linear polynomial models of varying orders against a non-linear exponential model to determine the best fit based on the Root Mean Square Error (RMSE).

# Operational Rules & Constraints
1. **Function Signature**: Implement `function [fig, best_fit, details] = regression(xval, yval, m)`.
2. **Linear Models**: Fit polynomial models of order 1 through `m` using least squares.
3. **Non-Linear Model**: Fit the model `y = c * e^(bx)`. Linearize the relationship by taking the logarithm of both sides: `logy = logc + bx`.
4. **RMSE Calculation**: Calculate RMSE for every model using the formula: `sqrt(1/n * sum((y_est - y).^2))`.
5. **Best Fit Selection**: Identify the model with the minimum RMSE.
   - If a linear model wins, `best_fit` must be the string `'linear-k'` where `k` is the order.
   - If the non-linear model wins, `best_fit` must be the string `'non-linear'`.
6. **Output Structure `details`**: Create a 1x2 structure array.
   - `details(1)` (Linear):
     - `model`: string `'linear'`
     - `order`: vector `[1 2 ... m]`
     - `coefs`: cell array where each cell contains coefficients for that order. Coefficients must be arranged with higher-order terms first.
     - `RMSE`: vector of RMSE values for orders 1 to m.
   - `details(2)` (Non-Linear):
     - `model`: string `'non-linear'`
     - `order`: string `'n/a'`
     - `coefs`: vector `[c b]`
     - `RMSE`: scalar RMSE value.
7. **Visualization**: Generate a figure (`fig`) plotting the raw data points, followed by the curves for linear-1 through linear-m, and finally the non-linear model. Use `linspace` for smooth plotting.

# Communication & Style Preferences
- Provide the complete, executable MATLAB code.
- Ensure code handles the specific struct field requirements strictly.

## Triggers

- compare linear and non-linear regression models in matlab
- find best fit model using least squares rmse
- implement regression function with polynomial and exponential fit
- matlab regression details struct array

Excerpt, first 3,120 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Similar skills

Questions about Matlab Regression Model Comparison And Visualization

What does the Matlab Regression Model Comparison And Visualization skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Matlab Regression Model Comparison And Visualization safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Matlab Regression Model Comparison And Visualization access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.