Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

mlflowmlflow 搜索

Agent Skill

mlflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

424

周安装

17

GitHub Stars

4

下载量

137
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mlflow(mlflow 搜索)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/mlflow
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill mlflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill mlflow

简介

该技能用于机器学习实验追踪与模型生命周期管理,支持指标记录与版本控制。

  • 适用于超参调优、模型对比及 MLOps 流水线集成等场景。
  • 通过 GitHub 仓库安装,兼容 Codex、Claude、Cursor、Gemini CLI。
  • 需配置后端存储(如 SQLite 或云数据库)以持久化实验数据。
  • 部署模型时应考虑推理延迟与资源占用平衡。

SKILL.md

mlflow

Purpose

MLflow is an open-source platform for tracking experiments, packaging ML models, and deploying them in the machine learning lifecycle. It helps standardize workflows for reproducibility and collaboration.

When to Use

Use MLflow when managing multiple ML experiments, comparing models, or deploying to production. It's ideal for teams in MLOps pipelines, such as hyperparameter tuning in Jupyter notebooks, or scaling model deployment in cloud environments like AWS or Azure.

Key Capabilities

  • Experiment Tracking: Record metrics, parameters, and artifacts for each run.
  • Model Packaging: Save models in a standard format (e.g., MLmodel) for easy sharing.
  • Model Deployment: Serve models as REST APIs or integrate with platforms like Kubernetes.
  • UI and API: Provides a web UI for visualization and a Python API for programmatic access.
  • Artifact Storage: Supports backends like S3, Azure Blob, or local files for storing outputs.

Usage Patterns

Start by initializing a tracking server or using the local backend. For a typical workflow, import MLflow in your script, log metrics during training, and register models after evaluation. Always set the tracking URI first (e.g., via environment variable). For production, package models and deploy via MLflow's serving tools. Avoid running experiments without tracking to prevent loss of reproducibility.

Common Commands/API

Use the MLflow CLI for quick operations or the Python API for integration in code.

  • CLI Commands:

- Start a tracking server: mlflow server --host 0.0.0.0 --port 5000 - Run an experiment: mlflow run. -e main --experiment-name my_exp - Log metrics in a script: Use flags like --param key=value for parameters. - Deploy a model: mlflow models serve -m models:/MyModel/1 -p 5001

  • Python API Snippets:

- Start tracking: import mlflow mlflow.set_tracking_uri("http://localhost:5000") with mlflow.start_run(): mlflow.log_param("alpha", 0.1) - Log metrics: mlflow.log_metric("accuracy", 0.95) mlflow.log_artifact("model.pkl") - Register a model: mlflow.sklearn.log_model(sk_model, "model") mlflow.register_model("runs:/<run_id>/model", "MyModel")

Config formats include YAML for project specifications (e.g., in mlflow projects: entry_points: main: parameters: alpha: {type: float, default: 0.1}). Set environment variables for auth, like export MLFLOW_TRACKING_USERNAME=$YOUR_USERNAME and export MLFLOW_TRACKING_PASSWORD=$YOUR_PASSWORD when using a secured server.

Integration Notes

Integrate MLflow with frameworks like Scikit-learn, TensorFlow, or PyTorch by using their respective logging functions (e.g., mlflow.sklearn.autolog()). For cloud storage, set MLFLOW_S3_ENDPOINT_URL for S3 compatibility. When combining with tools like Airflow, use MLflow's API to trigger runs from DAGs. Always specify the tracking URI via os.environ['MLFLOW_TRACKING_URI'] = 'http://your-server:5000' before API calls. For authentication in remote setups, use env vars like $MLFLOW_TRACKING_TOKEN for API keys.

Error Handling

Handle common errors by checking for issues like unreachable tracking URIs or invalid model formats. For example, if a server is down, catch MlflowException in Python:

try:
    mlflow.set_tracking_uri("http://localhost:5000")
except mlflow.exceptions.MlflowException as e:
    print(f"Error: {e}. Check server status and retry.")

For CLI, use verbose mode with --verbose to debug failed runs. Validate inputs before logging (e.g., ensure metrics are numbers). If artifacts fail to upload, verify storage permissions or use alternative backends like --backend-store-uri sqlite:///mlflow.db.

Concrete Usage Examples

  1. Tracking a Scikit-learn Model: In a script, train a model and log it: import mlflow.sklearn from sklearn.ensemble import RandomForestClassifier model = RandomForestClassifier() model.fit(X_train, y_train) with mlflow.start_run(): mlflow.sklearn.log_model(model, "rf_model") Then, view runs via mlflow ui and compare metrics.
  2. Deploying a Trained Model: After training, package and serve: Run mlflow models build-docker -m runs:/<run_id>/model -n my_image. Then, deploy with docker run -p 5000:8080 my_image, and query the endpoint via curl -d 'json data' http://localhost:5000/invocations.

Graph Relationships

  • Related to cluster: aimlops (e.g., connects with other MLOps tools like Kubeflow or DVC).
  • Tags: mlflow (direct match), mlops (workflow integration), machine-learning (core functionality).
  • Dependencies: Often pairs with Python ML libraries (e.g., scikit-learn) and storage systems (e.g., S3).

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.01%
按下载量换算47

Claude

29.69%
按下载量换算41

Cursor

20.83%
按下载量换算29

Gemini CLI

10.02%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills