Skip to main content

Jupyter widgets for hypernets

Project description


Python Versions Downloads PyPI Version


This project provides a visualization tool for experiment information based on jupyter notebook/ jupyterlab widget.


Install with pip

pip install hboard-widget

Install with conda

conda install -c conda-forge hboard-widget

Install with source code

Build from source code need following requirements:

The project need frontend of hboard to be built in advance.

Clone the source code:

git clone

Build for development:

cd ./hboard-widget
pip install -e .
jupyter nbextension install --py --symlink --overwrite --sys-prefix hboard_widget
jupyter nbextension enable --py --sys-prefix hboard_widget
jupyter labextension develop --overwrite hboard_widget

You need to rebuild the JS when you make a code change:

cd ./hboard-widget/js
yarn run build


The following steps shows how to implement the experiment visualization in notebook

  1. Import the required modules:
import warnings

from sklearn.model_selection import train_test_split
from hypernets.examples.plain_model import PlainModel, PlainSearchSpace
from hypernets.experiment import make_experiment
from hypernets.tabular.datasets import dsutils
  1. Create an experiment
df = dsutils.load_boston()
df_train, df_eval = train_test_split(df, test_size=0.2)
search_space = PlainSearchSpace(enable_lr=False, enable_nn=False, enable_dt=False, enable_dtr=True)
experiment = make_experiment(PlainModel, df_train,
  1. Experiment visualization configurations
from hboard_widget import ExperimentSummary
experiment_summary_widget = ExperimentSummary(experiment)
  1. Visualize the dataset information
from hboard_widget import DatasetSummary
dataset_summary_widget = DatasetSummary(experiment.get_data_character())
  1. Visualize the experiment process
from hboard_widget import ExperimentProcessWidget
estimator =

widget = ExperimentProcessWidget(experiment)

Find the project in Notebook experiment visualization notebook.ipynb.

Related project

Currently, HyperGBM has integrated this tool. The HyperGBM experiment could call the notebook widget visualization function and display the experiment dashboard. Please refer to HyperGBM: Experiment Visualization in Notebook

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

hboard_widget-0.1.1-py2.py3-none-any.whl (8.3 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page