Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/huubar-ml-model-training
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ml-model-training
What's inside
- Skill name
ml-model-training- Description
- Train ML models with scikit-learn, PyTorch, TensorFlow. Use for classification/regression, neural networks, hyperparameter tuning, or encountering overfitting, underfitting, convergence issues.
- License
- MIT
- Instructions
- 215 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/pytorch-training.md, references/tensorflow-keras.md
Files (1)
- SKILL.md
SKILL.md (first lines)
# ML Model Training
Train machine learning models with proper data handling and evaluation.
## Training Workflow
1. Data Preparation → 2. Feature Engineering → 3. Model Selection → 4. Training → 5. Evaluation
## Data Preparation
```python
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler, LabelEncoder
# Load and clean data
df = pd.read_csv('data.csv')
df = df.dropna()
# Encode categorical variables
le = LabelEncoder()
df['category'] = le.fit_transform(df['category'])
# Split data (70/15/15)
X = df.drop('target', axis=1)
y = df['target']
X_train, X_temp, y_train, y_temp = train_test_split(X, y, test_size=0.3)
X_val, X_test, y_val, y_test = train_test_split(X_temp, y_temp, test_size=0.5)
# Scale features
scaler = StandardScaler()
X_train = scaler.fit_transform(X_train)
X_val = scaler.transform(X_val)
X_test = scaler.transform(X_test)
```
## Scikit-learn Training
```python
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import classification_report, accuracy_score
model = RandomForestClassifier(n_estimators=100, random_state=42)
model.fit(X_train, y_train)
y_pred = model.predict(X_val)
print(classification_report(y_val, y_pred))
```
## PyTorch Training
```python
import torch
import torch.nn as nn
class Model(nn.Module):
def __init__(self, input_dim):
super().__init__()
self.layers = nn.Sequential(
nn.Linear(input_dim, 64),
nn.ReLU(),
nn.Dropout(0.3),
nn.Linear(64, 32),
nn.ReLU(),
nn.Linear(32, 1),
nn.Sigmoid()
)
def forward(self, x):
return self.layers(x)
model = Model(X_train.shape[1])
optimizer = torch.optim.Adam(model.parameters(), lr=0.001)
criterion = nn.BCELoss()
for epoch in range(100):
model.train()
optimizer.zero_grad()
output = model(X_train_tensor)
loss = criterion(output, y_train_tensor)
loss.backward()
optimizer.step()
```
## Evaluation Metrics
| Task | Metrics |
|------|---------|
| Classification | Accuracy, Precision, Recall, F1, AUC-ROC |
| Regression | MSE, RMSE, MAE, R² |
## Complete Framework Examples
- **PyTorch**: See [references/pytorch-training.md](references/pytorch-training.md) for complete training with:
- Custom model classes with BatchNorm and Dropout
- Training/validation loops with early stopping
- Learning rate scheduling
- Model checkpointing
- Full evaluation with classification report
- **TensorFlow/Keras**: See [references/tensorflow-keras.md](references/tensorflow-keras.md) for:
- Sequential model architecture
- Callbacks (EarlyStopping, ReduceLROnPlateau, ModelCheckpoint, TensorBoard)
- Training history visualization
- TFLite conversion for mobile deployment
- Custom training loops
## Best Practices
**Do:**
- Use cross-validation for robust evaluation
- Track experiments with MLflow
- Save model checkpoints regularly
- Monitor for overfitting
- Document hyperparameters
- Use 70/15/15 train/val/test split
**Don't:**
- Train without a validation setFrom HuuBar/skill-orchestration-vs-retrieval, MIT.
More from HuuBar/skill-orchestration-vs-retrieval
- 0.524score
early-stopping-callback
HuuBar
Early Stopping Callback - Auto-activating skill for ML Training.
SkillBFreshness: BClaude Code +9 - 0.519score
model-evaluator
HuuBar
Comprehensive ML model evaluation with multiple metrics, cross-validation, and statistical testing.
SkillBFreshness: BClaude Code +9 - 0.516score
sota-data-cleaning-feature-selection-eda
HuuBar
Master SOTA data prep for Kaggle comps: automated EDA (Sweetviz), cleaning (Pyjanitor), and feature selection (Polars + XGBoost) for medium datasets…
SkillBFreshness: BClaude Code +9 - 0.516score
ce-classification
HuuBar
Handle CE classification workflows for binary and multiclass prediction semantics and class-focused explanation behavior.
SkillBFreshness: BClaude Code +9 - 0.516score
sklearn-model-trainer
HuuBar
Scikit-learn model training skill with cross-validation, hyperparameter tuning, pipeline construction, and model serialization.
SkillBFreshness: BClaude Code +9 - 0.515score
data-cleaning-pipeline-generator
HuuBar
Generates data cleaning pipelines for pandas/polars with handling for missing values, duplicates, outliers, type conversions, and data validation.
SkillBFreshness: BClaude Code +9 - 0.515score
pandas-pro
HuuBar
Use when working with pandas DataFrames, data cleaning, aggregation, merging, or time series analysis.
SkillBFreshness: BClaude Code +9 - 0.513score
training-pipelines
HuuBar
Master training pipelines - orchestration, distributed training, hyperparameter tuning
SkillBFreshness: BClaude Code +9 - 0.513score
ml-fundamentals
HuuBar
Master machine learning foundations - algorithms, preprocessing, feature engineering, and evaluation
SkillBFreshness: BClaude Code +9 - 0.511score
autoresearch-ml
HuuBar
Autonomous LLM training optimization with GPU support.
SkillBFreshness: BClaude Code +9 - 0.510score
xgboost
HuuBar
XGBoost gradient boosting library.
SkillBFreshness: BClaude Code +9 - 0.507score
ydata-profiling
HuuBar
Automated data quality reports with comprehensive variable analysis, missing value detection, correlations, and HTML report generation - formerly…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 1, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from HuuBar
- 0.524score
early-stopping-callback
HuuBar
Early Stopping Callback - Auto-activating skill for ML Training.
SkillBFreshness: BClaude Code +9 - 0.519score
model-evaluator
HuuBar
Comprehensive ML model evaluation with multiple metrics, cross-validation, and statistical testing.
SkillBFreshness: BClaude Code +9 - 0.516score
ce-classification
HuuBar
Handle CE classification workflows for binary and multiclass prediction semantics and class-focused explanation behavior.
SkillBFreshness: BClaude Code +9 - 0.516score
sklearn-model-trainer
HuuBar
Scikit-learn model training skill with cross-validation, hyperparameter tuning, pipeline construction, and model serialization.
SkillBFreshness: BClaude Code +9 - 0.516score
sota-data-cleaning-feature-selection-eda
HuuBar
Master SOTA data prep for Kaggle comps: automated EDA (Sweetviz), cleaning (Pyjanitor), and feature selection (Polars + XGBoost) for medium datasets…
SkillBFreshness: BClaude Code +9 - 0.515score
data-cleaning-pipeline-generator
HuuBar
Generates data cleaning pipelines for pandas/polars with handling for missing values, duplicates, outliers, type conversions, and data validation.
SkillBFreshness: BClaude Code +9
Cite this page
ml-model-training skill. Agent Mart. https://agentmart.dev/skills/huubar-ml-model-training (last updated 2026-10-24)