splitting-datasets
/splitting-datasets
Process split datasets into training, validation, and testing sets for ML model development. Use when requesting "split dataset", "train-test split", or "data partitioning". Trigger with relevant phrases based on skill purpose.
- Author
- jeremylongshore ↗
- Repository
- tons-of-skills-marketplace ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 7
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Process split datasets into training, validation, and testing sets for ML model development. Use when requesting "split dataset", "train-test split", or "data partitioning". Trigger with relevant phrases based on skill purpose.
Triggers from the description
Original author description
Process split datasets into training, validation, and testing sets for ML model development. Use when requesting "split dataset", "train-test split", or "data partitioning". Trigger with relevant phrases based on skill purpose.
How it works
- Overview
- How It Works
- When to Use This Skill
- Examples
- Best Practices
- Integration
- Prerequisites
- Instructions
- Output
- Error Handling
SKILL.md preview
--- name: splitting-datasets description: 'Process split datasets into training, validation, and testing sets for ML model development. Use when requesting "split dataset", "train-test split", or "data partitioning". Trigger with relevant phrases based on skill purpose. ' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*) version: 1.22.0 author: Jeremy Longshore <jeremy@intentsolutions.io> license: MIT tags: - ai - testing - ml compatibility: Designed for Claude Code --- # Dataset Splitter Split datasets into training, validation, and testing sets with configurable ratios and stratification options. ## Overview This skill automates the process of dividing a dataset into subsets for training, validating, and testing machine learning models. It ensures proper data preparation and facilitates robust model evaluation. ## How It Works 1. **Analyze Request**: The skill analyzes the user's request to determine the dataset to be split and the desired proportions for each subset. 2. **Generate Code**: Based on the request, the skill generates Python code utilizing standard ML libraries to perform the data splitting. 3. **Execute Splitting**: The code is executed to split the dataset into training, validation, and testing sets according to the specified ratios. ## When to Use This Skill This skill activates when you need to: - Prepare a dataset for machine learning model training. - Create training, validation, and testing sets. - Partition data to evaluate model performance. ## Examples ### Example 1: Splitting a CSV file User request: "Split the data in 'my_data.csv' into 70% training, 15% validation, and 15% testing sets." The skill will: 1. Generate Python code to read the 'my_data.csv' file. 2. Execute the code to split the data according to the specified proportions, creating 'train.csv', 'validation.csv', and 'test.csv' files. ### Example 2: Creating a Train-Test Split User request: "Create a train-test split of 'large_dataset.csv' with an 80/20 ratio." The skill will: 1. Generate Python code to load 'large_dataset.csv'. 2. Execute the code to split the dataset into 80% training and 20% testing sets, saving them as 'train.csv' and 'test.csv'. ## Best Practices - **Data Integrity**: Verify that the splitting process maintains the integrity of the data, ensuring no data loss or corruption. - **Stratification**: Consider stratification when splitting imbalanced datasets to maintain class distributions in each subset. - **Randomization**: Ensure the splitting process is randomized to avoid bias in the resulting datasets. ## Integration This skill can be integrated with other data processing and model training tools within the Claude Code ecosystem to create a complete machine learning workflow. ## Prerequisites - Appropriate file access permissions - Required dependencies installed ## Instructions 1. Invoke this skill when the trigger conditions are met 2. Provide necessary context and parameters 3. Review the generated output 4. Apply modifications as needed ## Output The skill produces structured output relevant to the task. ## Error Handling - Invalid input: Prompts for correction - Missing dependencies: Lists required components - Permission errors: Suggests remediation steps ## Resources - Project documentation - Related skills and commands
Files in this package (7)
- SKILL.md 3 KB
- assets/README.md 1 KB
- assets/dataset_schema.json 3 KB
- assets/example_dataset.csv 1 KB
- assets/split_data_config.yaml 2 KB
- references/README.md 1 KB
- scripts/README.md 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · jeremylongshore/tons-of-skills-marketplace | 100 | MIT |
| HelixDevelopment/agent | 100 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version f581e48ebb3d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90dataset-split-review
Use when reviewing how data is split into train/validation/test sets -- especially with time-series data, repeated entities (users, patients, sessions), or imbalanced targets. - 100train-test-splitter
Test train test splitter operations. Auto-activating skill for ML Training. Triggers on: train test splitter, train test splitter Part of the ML Training skill category. Use when writing or running tests. Trigger with phrases like "train test splitter", "train splitter", "train". - 100datasets
List all connected datasets with their status, table counts, and last analysis date. Use this skill whenever the user invokes `/datasets`, or asks questions like "what datasets do I have?", "show me my data sources", "list datasets", "which datasets are connected?", "what data… - 100datasets
List all connected datasets with status, table counts, and last analysis date, and switch the active dataset. Trigger on "/datasets", "/switch-dataset", "what datasets do I have?", "show me my data sources", "list datasets", "which datasets are connected?", "what data is… - 100splitting-label-sets
Split human labels into train/dev/test once, with the class balance judge validation requires, and keep the test split closed — the discipline that makes a TPR number evidence rather than decoration. Use when /eval-judge --labels runs, before any judge is validated. - 100running-clustering-algorithms
Analyze datasets by running clustering algorithms (K-means, DBSCAN, hierarchical) to identify data groups. Use when requesting "run clustering", "cluster analysis", or "group data points". Trigger with relevant phrases based on skill purpose.