def _predict(theta, features, offsets):
    """
    Function to get the prediction scores
    :param theta: Model coefficients.
    :param features: Input feature matrix.
    :param offsets: Input offsets.
    :return: Per_coordinate_scores and total_scores.
    """
    per_coordinate_scores = features.dot(theta)
    total_scores = per_coordinate_scores + offsets
    return per_coordinate_scores, total_scores