def __init__(self, predictions, labels):
        """ Creates a classification result.
        NOTE: Does not yet work with multidimensional data.

        Parameters
        ----------
        predictions : :obj:`numpy.ndarray`
            array of predicted values
        labels : :obj:`numpy.ndarray`
            array of true values
        """
        self.predictions = predictions
        self.labels = labels
def __init__ ( self , predictions , labels ) : self . predictions = predictions self . labels = labels
Creates a classification result.
        NOTE: Does not yet work with multidimensional data.

        Parameters
        ----------
        predictions : :obj:`numpy.ndarray`
            array of predicted values
        labels : :obj:`numpy.ndarray`
            array of true values