Skip to content

Visualizeinit#20

Open
nvidia-johnq wants to merge 2 commits into
NVIDIA:masterfrom
nvidia-johnq:visualizeinit
Open

Visualizeinit#20
nvidia-johnq wants to merge 2 commits into
NVIDIA:masterfrom
nvidia-johnq:visualizeinit

Conversation

@nvidia-johnq

Copy link
Copy Markdown
Contributor

This is a script to generate graphs from csv results of testing

Comment thread visualization.py
print(f"algo: {algo}")
s = ""
for i in range(len(algo)):
if(algo[i] == '_'):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does _ mean?

Comment thread visualization.py
temp_df = temp_df.drop(columns=["test_time", "AUC", "train_time", "F1","Precision",
"Recall","MeanAbsError","MeanSquaredError","MedianAbsError", "algorithm"])
if(idx == 0):
temp_df = temp_df[temp_df["Accuracy"] != "-na-"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is gbm bench outputting the symbol "-na-"?

Comment thread visualization.py
df = pd.DataFrame()
for idx, i in enumerate([args.d1, args.d2]):
temp_df = pd.read_csv(i)
temp_df = temp_df.drop(columns=["test_time", "AUC", "train_time", "F1","Precision",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider using a variable name that's easier to understand. What's in the df after drop? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants