fklearn

Create and validate machine learning pipelines using a functional programming paradigm.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/olavocarvalho/data-agents --skill fklearn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fklearn
Source: https://github.com/olavocarvalho/data-agents/tree/main/skills/fklearn
Command: npx skills add https://github.com/olavocarvalho/data-agents --skill fklearn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the development and validation of machine learning models by providing a functional, composable API for common data science tasks.

Core Features & Use Cases

  • Functional ML Pipeline: Build complex ML workflows by chaining together transformations and learners.
  • Robust Validation: Perform cross-validation, stability analysis, and hyperparameter tuning with ease.
  • Use Case: Train a LightGBM classification model on your data, apply one-hot encoding to categorical features, and evaluate its performance using ROC AUC on a time-split validation set.

Quick Start

Use the fklearn skill to build a pipeline with label encoding and an LGBM classifier, then train it on the provided data.

Frequently Asked Questions about fklearn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a machine learning pipeline using a functional programming paradigm?

Build machine learning pipelines functionally by chaining together data transformations and learners. This approach provides a composable API to streamline model development and validation workflows.

Can I use LightGBM and XGBoost for model training with this functional pipeline approach?

Yes, functional pipeline model training integrates directly with LightGBM, XGBoost, and Scikit-learn. You can train classifiers and apply feature transformations like one-hot encoding seamlessly.

How do I perform cross-validation and hyperparameter tuning on a machine learning pipeline?

Perform cross-validation and hyperparameter tuning by applying robust validation features to your pipeline. This includes stability analysis and evaluation metrics for classification and regression tasks.

What is the best way to validate a classification model on a time-split dataset?

Validate a classification model on a time-split dataset by using built-in evaluation metrics like ROC AUC. The pipeline handles data splitting to ensure robust model validation.

How do I apply feature transformations like label encoding before training an LGBM classifier?

Apply feature transformations like label encoding by chaining them functionally before training an LGBM classifier. This composable workflow prepares data directly within the pipeline.