Use the multi-layer perceptron algorithm to learn a model that classifies IRIS flower dataset. Split the dataset into train set to train the algorithm and test set to test the algorithm. Calculate the accuracy.