Skip to content

pypmml reports an error when loading the MultiOutputRegressor model #58

@xingcoAi

Description

@xingcoAi

I plan to encapsulate multiple rule logics into PMML and finally output them using MultiOutputRegressor:

pipeline = PMMLPipeline([
    ('mapper_miss',mapper_miss)
    ,('mapper_encode',mapper_encode)
    ,('mapper_int',mapper_int)
    ,('mapper_score',mapper_score)
    ,('regress_model',MultiOutputRegressor(LinearRegression(fit_intercept=False)))
])

When I try to read a PMML file using pypmml, I get an error:

PmmlError: ('NoSuchElementException', "No value found for 'x-multiModelChain'")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions