Trains a model based on half the inputed data, then tries to predict the purchasing intent (whether the viewer is going to buy something or not) for the other half of the data and then returns the amount of predictions gotten correct/incorrect.
dependancies: pip3 install scikit-learn
$ python shopping.py shopping.csv
Correct: 4088
Incorrect: 844