Accessing PMML file within python script node

Hi there, I would like to load a PMML file into my python script but I can’t seem to figure this out. Is there some way of feeding that in as an input that I’m missing? I don’t see a way of passing anything in aside from tables and pickled objects.

@mm11g19 you could just pass the path of the pmml file to the Python node and use it there like with the parquet file in this example:

3 Likes

Thanks! I think this should work well for now.

1 Like

@mm11g19 what you can also do is save a pickled file from within the Python node, save it with the Model Writer and read it back:

1 Like

Hi have you tried
pypmml package?
br

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.