dsgiitr/adversarial_lab

Addition of HopSkipJumpAttack Algorithm Algorithm

mr-sarthakgupta opened this issue · 0 comments

Addition of HopSkipJumpAttack Algorithm

Task - Implementation and setting up of HopSkipJumpAttack Algorithm in the source code and its deployment on the main website.

Difficulty Level : Intermediate

Steps to be followed -

  • Add the respective attack function to attack.py file.
  • The function should be of the following framework -
def hsja(parameters):
	model body
	return dict()
  • Create the app-route python decorator for the algorithm in the app.py file.
  • The function should be of the following framework -
@app.route('/hsja', methods=['GET'])
def hsja():
    return render_template('hsja.html')
  • Create the html template file (hsja.html) for the respective algorithm in the template folder

Resources to be followed