I am trying to package an SVM classifier model I have written in python as a PMML to use it in a Flink project.
Reference: https://github.com/aedenj/flink-machine-learning-fish-market-example/blob/main/model/model.ipynb
The model is working fine and returning expected results, as shown below (not sure about the repeated output, but that's not the issue here).
When I am trying to package it as a PMML file, I am getting 'Requested array size exceeds VM limit' error.
Can anyone tell me what is happening here?
P.S. I wonder if it has something to do with Active Fields not being set. The training data is a One-hot encoded vector representation.