Skip to content

Why do you use different number of queries as default setting for estimating gradient in Sign-OPT and SVM-OPT? (200 vs 100) #8

@machanic

Description

@machanic

Dear Minhao Cheng:
When I check the code, I found the K (which is used for estimating the gradient of θ), is set different in Sign-OPT and SVM-OPT?
100 vs 200
I think this is not fair for comparing Sign-OPT and SVM-OPT
This is the code in def sign_grad_v1, 200 is the default value.

K = self.k # 200 random directions (for estimating the gradient)

K = self.k # 200 random directions (for estimating the gradient)

and in

X = np.zeros((dim, K))

K = 100 as the default parameter of the def sign_grad_svm function, which does not pass in any parameter?
Should I set all K to100 and redo my experiments for fair comparison of Sign-OPT and SVM-OPT in my paper?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions