def score_dataset(model, data):
    """
    Apply a model to the given dataset.

    :returns: A numpy array of model score same length as the dataset
    :rtye: numpy array
    """
    return model.predict(data)