Closed wuangKKK closed 4 years ago
This class looks like a dummy wrapper for a Python function. As such, it cannot be converted into PMML (because Python functions cannot be pickled and so on).
You have two replacements:
Use the former when dealing with simple functions (eg. Numpy universal functions), and the latter for everything else.
java.lang.IllegalArgumentException: The transformer object (Python class sklearn_pandas.transformers.FunctionTransformer) is not a supported Transformer
How to solve this problem?