Closed aditya619 closed 4 years ago
@aditya619 could you please try to change to a tensor type for features and see if that works better?
{
"name": "features",
"type": {
"type": "tensor",
"base": "double",
"dimensions": [
19
]
}
}
Closing this, I believe the answer above would solve the issue, please re-open if you're still not finding this to be the case.
I have a spark RF model which I'm trying to serve using Mleap. The schema of the input is of the following format from spark.
I'm trying to use the below schema in leap frame for the above input features.
However the sending the above input through mleap transform endpoint fails. The exception seems to be in JSONMapping.
Can anyone confirm if the above input is correct?