lightning-hpo icon indicating copy to clipboard operation
lightning-hpo copied to clipboard

Lightning HPO WorkShop: Start

Open tchaton opened this issue 2 years ago • 0 comments

This PR introduces the first step of the Lightning HPO workshop.

The workshop implements a simple Grid Search.

Here is the UI code to copy / paste

def render_fn(state: AppState):
    import json

    import hiplot as hip
    import streamlit as st

    st.set_page_config(layout="wide")

    if not state.data:
        st.write("No data available yet ! Stay tuned")
        return

    xp = hip.Experiment.from_iterable(state.data)
    ret_val = xp.to_streamlit(ret="selected_uids", key="hip").display()
    st.markdown("hiplot returned " + json.dumps(ret_val))

tchaton avatar Jun 12 '22 19:06 tchaton