Module containing utilities which are used in the library
Converts ndarray to poly features
A copy of scipy’s mode function
returns most common values in ndarray along with the amount of values in the indices
calculates the accuracy of the prediction (for classification tasks ONLY)
y (ndarray): ndarray of the correct values
y_hat (ndarray): ndarray of the predicted values
returns: float of the accuracy