Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Text parameters are not shown in the html #278

@praksharma

Description

@praksharma

I am using version 0.1.33. I am struggling to display text parameter such as activation, architecture on exported html file. however the parameters can be clearly seen in the table below the plot. I don't have jupyter notebook to test this.
image
Here is my code.

import hiplot as hip
import pandas as pd
# example: https://github.com/facebookresearch/hiplot/tree/master/examples

# Read the CSV file into a DataFrame
df = pd.read_csv('runs.csv')
df = df.drop('params.Training time', axis=1)
# Update column names
df.rename(columns={'params.lr': 'Learning Rate', 'params.Architecture': 'Architecture', 'params.Layers': 'Layers', 'params.Relative L2 error':'Relative L2 error'}, inplace=True)
# Convert the DataFrame into a HiPlot Experiment object
experiment = hip.Experiment.from_dataframe(df)

experiment.display_data(hip.Displays.PARALLEL_PLOT).update({'hide': ['uid']})

# Export the HiPlot visualization to a standalone HTML file
experiment.to_html(file='hiplot.html')

Link to the HTML file: https://github.com/praksharma/temp/blob/main/ABC/hiplot.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions