Skip to content

ML Canvas

ML Canvas gives your data science and analytics teams a governed workspace inside FirstHive to build, test and run their own machine learning models on your unified customer data. It uses Jupyter notebooks, so your team works with familiar Python tools and libraries, without exporting data out of the platform.

Use it to:

  • Explore and prepare customer data, and engineer features.
  • Train and evaluate your own models, for example propensity, churn or lifetime value tailored to your business.

Open ML Canvas

  1. Go to Apps > ML Canvas. ML Canvas opens in a new browser tab.
  2. Click Start My Server.
  3. Under Server Options, choose the size of your workspace:
    • Standard: for data exploration, analysis and most models.
    • ML-Heavy: more computing power, for training larger models.
  4. Click Start. Your workspace opens after a few moments.

Server Options

Your server keeps running while you work. Your files are kept between sessions.

The workspace

ML Canvas is a JupyterLab workspace.

ML Canvas notebook

  • File browser (left): your notebooks (.ipynb files), scripts and folders. Use Filter files by name to find one, the + button to open the Launcher, and the folder and upload icons to create folders or upload files.
  • Menu bar: File, Edit, View, Run, Kernel, Git, Tabs, Settings and Help. Use Git to version your notebooks in a repository.
  • Tabs: open several notebooks, consoles and files side by side.

Click + to open the Launcher and start a Notebook or Console (Python 3), a Terminal, or a new Text, Markdown or Python file.

Launcher

Work in a notebook

A notebook opens in a full Jupyter environment inside FirstHive:

  • Toolbar: add cells, save, restart the kernel and run all cells.
  • Code cells: write Python and run one cell or the whole notebook. Output (tables, charts, training results) appears under each cell.
  • Kernel: the active Python environment is shown at the top right. Restart or change it as needed.
import pandas as pd
df = pd.DataFrame({
"segment": ["Whales", "Loyal", "Slipping"],
"customers": [1200, 8400, 5300],
})
df.sort_values("customers", ascending=False)

Notebook parameters

Notebook Parameters are input values a notebook reads when it runs, such as a date range, a segment or model settings. Choose the notebook, fill in the parameter fields and click Save. Saved parameters let you rerun the same notebook with different inputs, without editing the code.

Data access and security

  • Notebooks read your account’s data through FirstHive. Your team doesn’t need direct warehouse credentials.
  • Access follows FirstHive’s roles and permissions. See Users and Roles.
  • Data stays in your FirstHive environment.

Good practice

  • Keep each notebook to one use case, such as a churn model or a segmentation study.
  • Group notebooks in folders, and use clear names, for example Customer_LTV_Model.ipynb.
  • Save parameter sets so experiments can be repeated.
  • Version and back up notebooks your team relies on.