def convert_date_to_numeric(date: str):
    """
    Converts a date to a numerical value of year + (month/12) that can
    be used for fitting a linear model
    """
    # Valid data inputs will allow us to use the following format
    year = int(date[:4])
    month = int(date[4:6])
    return year + (month / 12)