Skip to content
Development
Command

/evaluate-model

Evaluate machine learning model performance with comprehensive metrics.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/evaluate-model

Context preview

What this command does when you run it.

Evaluate machine learning model performance with comprehensive metrics.

Command definition

evaluate-model.md

/evaluate-model - Evaluate ML Model

Evaluate machine learning model performance with comprehensive metrics.

Steps

1. Ask the user for the model type: classification, regression, NLP, or generative 2. Load the model and test dataset from the specified paths 3. Run inference on the entire test dataset and collect predictions 4. For classification models, calculate: accuracy, precision, recall, F1-score, AUC-ROC 5. For regression models, calculate: MAE, MSE, RMSE, R-squared, MAPE 6. For NLP models, calculate: BLEU, ROUGE, perplexity, exact match 7. Generate a confusion matrix for classification tasks 8. Identify the worst-performing classes or data segments 9. Calculate calibration metrics: expected calibration error 10. Run performance profiling: inference time per sample, memory usage, throughput 11. Check for bias: evaluate performance across demographic subgroups if applicable 12. Generate a comprehensive evaluation report with all metrics and visualizations

Rules

  • Use stratified sampling if the test set is imbalanced
  • Report confidence intervals for all metrics when sample size allows
  • Include both micro and macro averages for multi-class metrics
  • Test on held-out data never seen during training
  • Report inference latency percentiles (p50, p95, p99) not just averages
  • Check for data leakage between train and test sets
  • Include baseline comparisons (random, majority class, previous model version)
Read more
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin