Registry Hub

The Registry Hub centralizes dataset management, experiment tracking, model registry, and test suite monitoring. It is structured into two main workflows:

  1. Dataset Workflow: Upload, preview, and manage datasets used in experiments.

  2. Experiment Workflow: Track, process, and manage experiments, models, and test suites.

Initialize the Panel

To create and initialize the Registry Hub panel, use:

# Manage the Registry Hub
from modeva.dashboard.api import registry_hub
registry_hub()

Dataset Workflow

../../_images/9e393302b78f3a67.png

Uploading Data

  1. Click “Upload Data”.

  2. Select a CSV File: Choose a dataset file (e.g., SimuCredit.csv).

  3. Choose Dataset Type:

    • Main Dataset: Standalone dataset (e.g., “SimuCredit”).

    • Extra Dataset: Supplemental data linked to an existing main dataset.

  4. Configure Upload Options:

    • Dataset Name: Auto-filled from the filename but editable (e.g., “SimuCredit”).

    • Override: Check to replace an existing dataset with the same name.

    • Parent Dataset: Required for “Extra” datasets to link to a main dataset.

  5. Click “Register” to finalize.

../../_images/ac975296f427e30e.png

After registration, the dataset appears in the Dataset Registry with columns: Name, Updated Time, Detail, and Delete.

Managing Datasets

All uploaded datasets are listed in the Dataset Registry. There are four datasets stored automatically for demo purposes: Demo-SimuCredit, Demo-BikeShare, Demo-CalHouse, and Demo-TwCredit.

View Details: Click |eye_icon| in the Detail column to see metadata like Sample Size (e.g., 20,000 rows for “Demo-SimuCredit”) and splits (main, train, test).

../../_images/e549bc857fddc0bc.png

Preview Data: Click |eye_icon| in the Preview column to inspect the first 10 rows of the dataset in the View Details tab.

../../_images/ff193f1ff394b2eb.png

Delete Dataset: Click |delete_icon| to remove it. Demo datasets are protected.

Experiment Workflow

Creating & Managing Experiments

Create New Experiment: New experiments are created with high code only.

If the experiment name exists, it will load the existing experiment; otherwise, it will create a new experiment.

# Create a new experiment
from modeva import Experiment
exp = Experiment(name='Demo-SimuCredit')

Bind Dataset: Select a dataset (e.g., “Demo-SimuCredit”) to link to the experiment.

# Link the dataset to the experiment
exp.data_load('Demo-SimuCredit')

Clear Experiment: Remove all data and models from the experiment.

# Clear the experiment
exp.clear()

Track Experiments

Experiments track ML processes and are linked to datasets.

../../_images/11ecd1de102ec3dd.png

View Experiment Details: Click |eye_icon| in the Detail column to see the sample size of each data split, main (20,000), train (16,000), test (4,000).

../../_images/68f9480b900f17cc.png

View Processing Steps: Click |eye_icon| in the Processing column to see feature-specific transformation records (e.g., scaling, encoding).

  • Each row represents a feature (e.g., “Utilization”, “Gender”).

  • Each column represents a feature status (e.g., “Imputation”, “Binning”, “Encoding”, “Scaling”, “Target”, “Sample Weight”).

../../_images/d15b9250af0ba4ac.png

View Models: Click |eye_icon| in the Model column to view trained models (e.g., “XGBoost”).

../../_images/b908a79d08048987.png
  • Hyperparameters: Click |eye_icon| in the Parameter column to view parameters like max_depth, n_estimators, and random_state.

../../_images/aac68aa92c16072c.png
  • Delete: Click |delete_icon| to remove unused models (e.g., “XGBoost-Tuned”).

View TestSuites: Click |eye_icon| in the Testsuite column to explore test results (e.g., “Categorical-Result”, “Numeric-Result”).

../../_images/da76364816097d41.png

Delete Experiment: Click |delete_icon| to remove an experiment and all associated data.

The Registry Hub panel provides a centralized location for managing datasets, experiments, models, and test suites. It simplifies the tracking and management of ML processes, enabling users to efficiently monitor and manage their projects.