An output.csv file has been included in the folder with the titanic dataset. It has the expected predictions corresponding to test data and your task is to write a Python function which takes as input a csv file, compares to the expected output and prints the percentage of accuracy achieved.
An
output.csv
file has been included in the folder with the titanic dataset. It has the expected predictions corresponding to test data and your task is to write a Python function which takes as input a csv file, compares to the expected output and prints the percentage of accuracy achieved.