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 |
|---|---|---|
| 14 | FlowyML Step, Pipeline, Conditional Branching, Scheduling | |
| 11 | Dataset loading, Model versioning, Experiment tracking | |
| 5 | Parallel map, Retry logic, Checkpointing, Smart caching | |
| 7 | GenAI tracing, OpenAI/LangChain observability, Drift detection | |
| 6 | Eval suites, Judge arena, Structured assessment | |
| 6 | Config management, FastAPI serving, Docker, CI/CD, Monitoring, A/B Testing | |
| 5 | PyTorch training, Transfer learning, Optuna tuning, SHAP explainability | |
| 5 | Text classification, Sentiment analysis, Topic modeling, NER, Embeddings | |
| 5 | Seasonal decomposition, ARIMA, Prophet, Anomaly detection, Rolling features | |
| 5 | ETL pipeline, Data quality, DuckDB analytics, SQLAlchemy, Schema evolution | |
| 7 | Imputation, Feature selection, Outlier treatment, SMOTE | |
| 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
FlowyML Notebook includes 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.