Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualizeinit #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

nvidia-johnq
Copy link
Contributor

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

print(f"algo: {algo}")
s = ""
for i in range(len(algo)):
if(algo[i] == '_'):
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does _ mean?

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
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-"?

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
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