Recipes
FlowyML Notebook includes a powerful Recipe System โ pre-configured, reusable code templates for common ML tasks. Think "snippets on steroids," with usage tracking, team sharing, and automatic surfacing.
Recipe Library
Built-in Categories
| Category | Count | Examples |
|---|---|---|
| 9 | FlowyML Step, Pipeline, Conditional Branching | |
| 8 | Dataset loading, Model versioning, Artifact catalog | |
| 4 | Parallel map, Dynamic tasks, Map-reduce | |
| 5 | Drift detection, Performance monitoring, Logging | |
| 3 | Eval suites, EvalDataset, Structured assessment | |
| 3 | Data loading, SQL connectors, Parquet I/O | |
| 3 | XGBoost/LightGBM baselines, Feature engineering | |
| 4 | Plotly charts, SHAP/LIME, Dashboard templates | |
| 4 | KDP preprocessing, KerasFactory model, MLPotion training, E2E pipeline |
Using a Recipe
- Open the Snips panel in the sidebar
- Browse or search for a recipe (search filters by name, category, and tags)
- Click + to insert into your notebook at the cursor position
- Customize the template for your use case
Most Used First
Recipes track usage counts automatically. Your most-used recipes surface first in the Popular tab โ no manual favorites needed.
Creating Custom Recipes
Save any cell as a reusable recipe:
- Write your code in a cell
- Click the "Save as Recipe" icon in the cell toolbar
- Provide a Name, Category, Tags, and Description
Custom recipes are stored locally as .recipe.json files:
Recipe Format
Each recipe is a self-contained JSON file:
Managing Recipes
Via Python API
Import & Export
Move recipes between machines or share outside of GitHub:
Sharing Recipes via GitHub
When connected to a GitHub repository (see Collaboration), recipes can be pushed to the shared team hub:
| Method | How |
|---|---|
| Push to Hub | Toggle "Share to Hub" when saving โ recipe is committed to .flowyml-hub/recipes/ |
| Pull from Hub | Click Pull in Git panel โ team recipes appear in the Shared tab |
| Manual Export | Export as JSON and share directly |
Shared Recipe Catalog
The hub maintains a catalog.json index for fast browsing:
When a teammate pushes a recipe, it appears in the Shared tab for everyone who pulls.
Best Practices
Recipe Tips
- Name clearly โ
XGBoost Quick Baseline>my_model - Tag generously โ Tags power search:
["xgboost", "classification", "baseline"] - Keep focused โ One recipe = one task. Don't mix data loading with model training
- Document parameters โ Use comments to explain what to customize
- Share to Hub โ If it helped you, it'll help your team
UnicoLab Ecosystem Recipes โ NEW in v1.3
FlowyML Notebook v1.3 adds 4 builtin ecosystem recipes that provide ready-to-use workflows for the UnicoLab ML stack:
| Recipe | Package | What It Does |
|---|---|---|
kdp |
Auto-configure Keras preprocessing layers โ feature types, distribution-aware encoding, tabular attention | |
kerasfactory |
Build tabular models with BaseFeedForwardModel or custom GRN/attention architectures |
|
mlpotion |
Managed training with ModelTrainer and type-safe ModelTrainingConfig |
|
| All 3 | Complete KDP โ KerasFactory โ MLPotion workflow in one recipe |
Ecosystem recipes appear alongside your custom and shared recipes in the Snips panel. They are tagged with unicolab for easy search.
Installing Ecosystem Packages
See Ecosystem for the full integration guide.