Open
Description
Addition of Carlini-Wagner L2 Attack Algorithm
Task - Implementation and setting up of Carlini-Wagner L2 Attack 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 cwl2(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('/cwl2', methods=['GET'])
def cwl2():
return render_template('cwl2.html')
- Create the html template file (cwl2.html) for the respective algorithm in the template folder