> setting-up-experiment-tracking
Implement machine learning experiment tracking using MLflow or Weights & Biases. Configures environment and provides code for logging parameters, metrics, and artifacts. Use when asked to "setup experiment tracking" or "initialize MLflow". Trigger with relevant phrases based on skill purpose.
curl "https://skillshub.wtf/jeremylongshore/claude-code-plugins-plus-skills/setting-up-experiment-tracking?format=md"Experiment Tracking Setup
Configure ML experiment tracking with MLflow or Weights & Biases, including environment setup and code for logging parameters, metrics, and artifacts.
Overview
This skill streamlines the process of setting up experiment tracking for machine learning projects. It automates environment configuration, tool initialization, and provides code examples to get you started quickly.
How It Works
- Analyze Context: The skill analyzes the current project context to determine the appropriate experiment tracking tool (MLflow or W&B) based on user preference or existing project configuration.
- Configure Environment: It configures the environment by installing necessary Python packages and setting environment variables.
- Initialize Tracking: The skill initializes the chosen tracking tool, potentially starting a local MLflow server or connecting to a W&B project.
- Provide Code Snippets: It provides code snippets demonstrating how to log experiment parameters, metrics, and artifacts within your ML code.
When to Use This Skill
This skill activates when you need to:
- Start tracking machine learning experiments in a new project.
- Integrate experiment tracking into an existing ML project.
- Quickly set up MLflow or Weights & Biases for experiment management.
- Automate the process of logging parameters, metrics, and artifacts.
Examples
Example 1: Starting a New Project with MLflow
User request: "track experiments using mlflow"
The skill will:
- Install the
mlflowPython package. - Generate example code for logging parameters, metrics, and artifacts to an MLflow server.
Example 2: Integrating W&B into an Existing Project
User request: "setup experiment tracking with wandb"
The skill will:
- Install the
wandbPython package. - Generate example code for initializing W&B and logging experiment data.
Best Practices
- Tool Selection: Consider the scale and complexity of your project when choosing between MLflow and W&B. MLflow is well-suited for local tracking, while W&B offers cloud-based collaboration and advanced features.
- Consistent Logging: Establish a consistent logging strategy for parameters, metrics, and artifacts to ensure comparability across experiments.
- Artifact Management: Utilize artifact logging to track models, datasets, and other relevant files associated with each experiment.
Integration
This skill can be used in conjunction with other skills that generate or modify machine learning code, such as skills for model training or data preprocessing. It ensures that all experiments are properly tracked and documented.
Prerequisites
- Appropriate file access permissions
- Required dependencies installed
Instructions
- Invoke this skill when the trigger conditions are met
- Provide necessary context and parameters
- Review the generated output
- 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
> related_skills --same-repo
> fathom-cost-tuning
Optimize Fathom API usage and plan selection. Trigger with phrases like "fathom cost", "fathom pricing", "fathom plan".
> fathom-core-workflow-b
Sync Fathom meeting data to CRM and build automated follow-up workflows. Use when integrating Fathom with Salesforce, HubSpot, or custom CRMs, or creating automated post-meeting email summaries. Trigger with phrases like "fathom crm sync", "fathom salesforce", "fathom follow-up", "fathom post-meeting workflow".
> fathom-core-workflow-a
Build a meeting analytics pipeline with Fathom transcripts and summaries. Use when extracting insights from meetings, building CRM sync, or creating automated meeting follow-up workflows. Trigger with phrases like "fathom analytics", "fathom meeting pipeline", "fathom transcript analysis", "fathom action items sync".
> fathom-common-errors
Diagnose and fix Fathom API errors including auth failures and missing data. Use when API calls fail, transcripts are empty, or webhooks are not firing. Trigger with phrases like "fathom error", "fathom not working", "fathom api failure", "fix fathom".