示例#1
0
    def __init__(self, specification, error_specification):
        AbstractRegressionModel.__init__(self, specification,
                                         error_specification)

        if not isinstance(error_specification, LinearRegErrorSpecification):
            raise ErrorSpecificationError, """incorrect error specification; it """\
                """should be LinearRegErrroSpecification object"""
    def __init__(self, specification, error_specification):
        AbstractRegressionModel.__init__(
            self, specification, error_specification)

        if not isinstance(error_specification, LinearRegErrorSpecification):
            raise ErrorSpecificationError, """incorrect error specification; it """\
                """should be LinearRegErrroSpecification object"""