Preprocessing data for training Machine learning model. See the code it is very simple and self explainatory
init: import the csv data
replaceStringWithInt: converts string class to int
intergifyData: converts string np array to int.
shuffleData: randomly shuffles the dataa
trainGen: converts the data in to training, testing, validation data
multiClassGen: converts the data for multiclass classification.
Modified the mlp class so that it usess cross-entropy error function for logistic activation function and multi-class cross-entropy error when a soft-max activation function is used.