ml-pipeline-creation

The SkillHub platform skill module “ml-pipeline-creation.”

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ml-pipeline-creation" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d6002762d97953c8930434fb695b894fe2c622e565ee435f6075a90541fd49a4. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/ml-pipeline-creation-skillhub before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

The SkillHub platform skill module “ml-pipeline-creation.”

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ml-pipeline-creation
slug: "ml-pipeline-creation"
version: "1.0.0"
displayName: "ml-pipeline-creation"
summary: "一种创建、管理和自动化机器学习管道的技术。"
description: 一种创建、管理和自动化机器学习管道的技术。
license: MIT

工作流

This skill enables the creation and management of machine learning (ML) pipelines, automating the process of training, evaluating, and deploying ML models. The workflow is designed to be flexible and adaptable to various ML tasks and frameworks.

  1. Define Pipeline Structure: The user specifies the stages of the ML pipeline, including data preprocessing, model training, model evaluation, and deployment. This is typically done in a configuration file (e.g., YAML or JSON).
  2. Component Implementation: Each stage of the pipeline is implemented as a separate component. These components are reusable and can be chained together to form a complete pipeline.
  3. Pipeline Execution: The skill executes the pipeline, running each component in the specified order. It handles data flow between components and manages dependencies.
  4. Monitoring and Logging: The skill provides tools for monitoring the pipeline's execution, logging results, and tracking experiments.
  5. Deployment: Once a model is trained and evaluated, the skill can automate its deployment to a serving environment.

Usage

To use this skill, you need to provide a pipeline definition file and the implementation of the pipeline components.

Example: Simple Scikit-learn Pipeline

Here's an example of how to define and run a simple ML pipeline using this skill.

pipeline.yaml

name: simple-sklearn-pipeline
components:
  - name: data-preprocessing
    script: preprocess.py
    inputs:
      - raw_data: /path/to/raw_data.csv
    outputs:
      - processed_data: /path/to/processed_data.csv
  - name: train-model
    script: train.py
    inputs:
      - processed_data: /path/to/processed_data.csv
    outputs:
      - model: /path/to/model.pkl
  - name: evaluate-model
    script: evaluate.py
    inputs:
      - model: /path/to/model.pkl
      - test_data: /path/to/test_data.csv
    outputs:
      - metrics: /path/to/metrics.json

preprocess.py

import pandas as pd
from sklearn.model_selection import train_test_split

# Load data
df = pd.read_csv('/path/to/raw_data.csv')

# Simple preprocessing
X = df.drop('target', axis=1)
y = df['target']
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

# Save processed data
pd.concat([X_train, y_train], axis=1).to_csv('/path/to/processed_data.csv', index=False)
pd.concat([X_test, y_test], axis=1).to_csv('/path/to/test_data.csv', index=False)

train.py

import pandas as pd
from sklearn.ensemble import RandomForestClassifier
import joblib

# Load processed data
df = pd.read_csv('/path/to/processed_data.csv')
X_train = df.drop('target', axis=1)
y_train = df['target']

# Train model
model = RandomForestClassifier(n_estimators=100, random_state=42)
model.fit(X_train, y_train)

# Save model
joblib.dump(model, '/path/to/model.pkl')

evaluate.py

import pandas as pd
import joblib
import json
from sklearn.metrics import accuracy_score

# Load model and test data
model = joblib.load('/path/to/model.pkl')
df = pd.read_csv('/path/to/test_data.csv')
X_test = df.drop('target', axis=1)
y_test = df['target']

# Evaluate model
y_pred = model.predict(X_test)
accuracy = accuracy_score(y_test, y_pred)

# Save metrics
with open('/path/to/metrics.json', 'w') as f:
    json.dump({'accuracy': accuracy}, f)

print(f'Model accuracy: {accuracy}')

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 提供机器学习管道创建、管理和自动化能力
  • 解决模型训练、评估、部署流程中的核心痛点
  • 支持多种 ML 任务和框架,具有高灵活性和复用性
Trigger Precision75/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 description 字段内容过于简略('SkillHub skill'),实质性描述内容位于 skill_body 内部

    Recommendation: 建议将详细描述内容移至顶层 description 字段,确保触发信息完整准确

Highlights

  • skill_body 内部提供了详细的触发描述和使用说明
  • 覆盖了多种触发场景和变体
Structure and Standards95/100

Highlights

  • Phase/步骤清晰,包含完整的端到端示例
  • frontmatter 完整,文档结构规范
  • 提供了 YAML 配置和 Python 脚本的完整实现示例
Execution Reliability90/100

Highlights

  • 工具来源明确(pandas, sklearn, joblib),参数正确
  • 提供了完整的 pipeline.yaml 配置示例
  • 三个 Python 脚本实现完整,覆盖了数据预处理、模型训练和评估全流程
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.